Updated version string and added an empty (for now) TTY module
authorTom Knot <tomasknot@gmail.com>
Thu, 5 Apr 2018 14:06:37 +0000 (16:06 +0200)
committerTom Knot <tomasknot@gmail.com>
Thu, 5 Apr 2018 14:06:37 +0000 (16:06 +0200)
modules/unipi/Makefile
modules/unipi/src/unipi_common.h
modules/unipi/src/unipi_tty.c [new file with mode: 0644]
modules/unipi/src/unipi_tty.h [new file with mode: 0644]

index 06d62464fb62dae3a79d472b8bd6a86c1b32fdb1..83eed53b8b410fba330f9e286c0dd06f60778b24 100644 (file)
@@ -16,6 +16,7 @@ C_SRC_FILES += unipi_uart.c
 C_SRC_FILES += unipi_sysfs.c
 C_SRC_FILES += unipi_misc.c
 C_SRC_FILES += unipi_platform.c
+C_SRC_FILES += unipi_tty.c
 
 H_SRC_FILES = unipi_spi.h
 H_SRC_FILES += unipi_iio.h
@@ -25,6 +26,7 @@ H_SRC_FILES += unipi_sysfs.h
 H_SRC_FILES += unipi_misc.h
 H_SRC_FILES += unipi_platform.h
 H_SRC_FILES += unipi_common.h
+H_SRC_FILES += unipi_tty.h
 
 OBJ_FILES = src/unipi_spi.o
 OBJ_FILES += src/unipi_iio.o
@@ -33,6 +35,7 @@ OBJ_FILES += src/unipi_uart.o
 OBJ_FILES += src/unipi_sysfs.o
 OBJ_FILES += src/unipi_misc.o
 OBJ_FILES += src/unipi_platform.o
+OBJ_FILES += src/unipi_tty.o
 
 KERNEL_MODULE_NAME = unipi
 obj-m += ${KERNEL_MODULE_NAME}.o
index eb560e6e14759b47c1b084b234ff1440ffd7b2cc..2c06b0e6d264fa9c1426d6c5387c6a60bde6cc93 100644 (file)
@@ -48,7 +48,7 @@
  ***************/
 
 #define NEURONSPI_SCHED_REQUIRED 0 // Older kernels do not require sched/types to be specifically imported
-#define NEURONSPI_MAJOR_VERSIONSTRING "Development Beta Version 0.03:08:03:2018"
+#define NEURONSPI_MAJOR_VERSIONSTRING "Development Beta Version 0.04:05:04:2018"
 
 #define NEURONSPI_MAX_DEVS                             3
 #define NEURONSPI_MAX_UART                             128
diff --git a/modules/unipi/src/unipi_tty.c b/modules/unipi/src/unipi_tty.c
new file mode 100644 (file)
index 0000000..9037c4d
--- /dev/null
@@ -0,0 +1,15 @@
+/*
+ * UniPi Neuron tty serial driver - Copyright (C) 2018 UniPi Technologies
+ * Author: Tomas Knot <tomasknot@gmail.com>
+ *
+ *  Based on the SC16IS7xx driver by Jon Ringle <jringle@gridpoint.com>,
+ *  which was in turn based on max310x.c, by Alexander Shiyan <shc_work@mail.ru>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ */
+
+
diff --git a/modules/unipi/src/unipi_tty.h b/modules/unipi/src/unipi_tty.h
new file mode 100644 (file)
index 0000000..d9a11ad
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ * UniPi Neuron tty serial driver - Copyright (C) 2018 UniPi Technologies
+ * Author: Tomas Knot <tomasknot@gmail.com>
+ *
+ *  Based on the SC16IS7xx driver by Jon Ringle <jringle@gridpoint.com>,
+ *  which was in turn based on max310x.c, by Alexander Shiyan <shc_work@mail.ru>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ */
+
+#ifndef MODULES_UNIPI_SRC_UNIPI_TTY_H_
+#define MODULES_UNIPI_SRC_UNIPI_TTY_H_
+
+#include "unipi_common.h"
+
+
+
+#endif /* MODULES_UNIPI_SRC_UNIPI_TTY_H_ */