diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-12-18 17:54:04 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-12-18 17:54:04 +0000 |
commit | 1080f68b2b422f1e72e402765a45d0cc3c550825 (patch) | |
tree | bd66621cafaf19ba323210d4fe7242b5ea71d458 /target/linux/etrax/patches-2.6.32/600-create-device-serial.patch | |
parent | b86e82e5cc54f03f9207411197e15f431d2173ff (diff) | |
download | upstream-1080f68b2b422f1e72e402765a45d0cc3c550825.tar.gz upstream-1080f68b2b422f1e72e402765a45d0cc3c550825.tar.bz2 upstream-1080f68b2b422f1e72e402765a45d0cc3c550825.zip |
etrax: R.I.P.
It is broken and it is not maintained by anyone since long time.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34768
Diffstat (limited to 'target/linux/etrax/patches-2.6.32/600-create-device-serial.patch')
-rw-r--r-- | target/linux/etrax/patches-2.6.32/600-create-device-serial.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/target/linux/etrax/patches-2.6.32/600-create-device-serial.patch b/target/linux/etrax/patches-2.6.32/600-create-device-serial.patch deleted file mode 100644 index 58817e0dec..0000000000 --- a/target/linux/etrax/patches-2.6.32/600-create-device-serial.patch +++ /dev/null @@ -1,44 +0,0 @@ ---- a/drivers/serial/crisv10.c -+++ b/drivers/serial/crisv10.c -@@ -32,6 +32,7 @@ static char *serial_version = "$Revision - #include <linux/module.h> - #include <linux/uaccess.h> - #include <linux/io.h> -+#include <linux/device.h> - - #include <asm/irq.h> - #include <asm/dma.h> -@@ -4415,6 +4416,8 @@ static const struct tty_operations rs_op - #endif - }; - -+static struct class *rs_class; -+ - static int __init rs_init(void) - { - int i; -@@ -4548,6 +4551,24 @@ static int __init rs_init(void) - #endif - #endif /* CONFIG_SVINTO_SIM */ - -+ rs_class = class_create(THIS_MODULE, "rs_tty"); -+#ifdef CONFIG_ETRAX_SERIAL_PORT0 -+ device_create(rs_class, NULL, -+ MKDEV(TTY_MAJOR, 64), NULL, "ttyS0"); -+#endif -+#ifdef CONFIG_ETRAX_SERIAL_PORT1 -+ device_create(rs_class, NULL, -+ MKDEV(TTY_MAJOR, 65), NULL, "ttyS1"); -+#endif -+#ifdef CONFIG_ETRAX_SERIAL_PORT2 -+ device_create(rs_class, NULL, -+ MKDEV(TTY_MAJOR, 66), NULL, "ttyS2"); -+#endif -+#ifdef CONFIG_ETRAX_SERIAL_PORT3 -+ device_create(rs_class, NULL, -+ MKDEV(TTY_MAJOR, 67), NULL, "ttyS3"); -+#endif -+ - return 0; - } - |