From: Tom Knot Date: Thu, 5 Apr 2018 14:06:37 +0000 (+0200) Subject: Updated version string and added an empty (for now) TTY module X-Git-Url: http://git.graph-it.com/?a=commitdiff_plain;h=f016d96088ef8195a9126d8653445e499eeb9857;p=graphit%2Funipi-kernel.git Updated version string and added an empty (for now) TTY module --- diff --git a/modules/unipi/Makefile b/modules/unipi/Makefile index 06d6246..83eed53 100644 --- a/modules/unipi/Makefile +++ b/modules/unipi/Makefile @@ -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 diff --git a/modules/unipi/src/unipi_common.h b/modules/unipi/src/unipi_common.h index eb560e6..2c06b0e 100644 --- a/modules/unipi/src/unipi_common.h +++ b/modules/unipi/src/unipi_common.h @@ -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 index 0000000..9037c4d --- /dev/null +++ b/modules/unipi/src/unipi_tty.c @@ -0,0 +1,15 @@ +/* + * UniPi Neuron tty serial driver - Copyright (C) 2018 UniPi Technologies + * Author: Tomas Knot + * + * Based on the SC16IS7xx driver by Jon Ringle , + * which was in turn based on max310x.c, by Alexander Shiyan + * + * 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 index 0000000..d9a11ad --- /dev/null +++ b/modules/unipi/src/unipi_tty.h @@ -0,0 +1,22 @@ +/* + * UniPi Neuron tty serial driver - Copyright (C) 2018 UniPi Technologies + * Author: Tomas Knot + * + * Based on the SC16IS7xx driver by Jon Ringle , + * which was in turn based on max310x.c, by Alexander Shiyan + * + * 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_ */