summaryrefslogtreecommitdiff
path: root/target/linux/etrax/patches-2.6.28/300-sysfs.patch
diff options
context:
space:
mode:
authorClaudio Mignanti <c.mignanti@gmail.com>2009-04-19 15:36:30 +0000
committerClaudio Mignanti <c.mignanti@gmail.com>2009-04-19 15:36:30 +0000
commit14aa5dc5c11beb443b28d89ecce4624c8762b89f (patch)
tree3550dab70094b8f79664e5254dc9625659a17a48 /target/linux/etrax/patches-2.6.28/300-sysfs.patch
parent964d68dcecaba9dd48e4d33f5b14c5366b21d4cd (diff)
downloadmtk-20170518-14aa5dc5c11beb443b28d89ecce4624c8762b89f.zip
mtk-20170518-14aa5dc5c11beb443b28d89ecce4624c8762b89f.tar.gz
mtk-20170518-14aa5dc5c11beb443b28d89ecce4624c8762b89f.tar.bz2
etrax: dump to 2.6.29
SVN-Revision: 15260
Diffstat (limited to 'target/linux/etrax/patches-2.6.28/300-sysfs.patch')
-rw-r--r--target/linux/etrax/patches-2.6.28/300-sysfs.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/target/linux/etrax/patches-2.6.28/300-sysfs.patch b/target/linux/etrax/patches-2.6.28/300-sysfs.patch
deleted file mode 100644
index 9f415b4..0000000
--- a/target/linux/etrax/patches-2.6.28/300-sysfs.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- a/drivers/serial/crisv10.c
-+++ b/drivers/serial/crisv10.c
-@@ -27,6 +27,7 @@ static char *serial_version = "$Revision
- #include <linux/kernel.h>
- #include <linux/mutex.h>
- #include <linux/bitops.h>
-+#include <linux/device.h>
-
- #include <asm/io.h>
- #include <asm/irq.h>
-@@ -4384,6 +4385,7 @@ static const struct tty_operations rs_op
- .tiocmset = rs_tiocmset
- };
-
-+static struct class *rs_class;
- static int __init
- rs_init(void)
- {
-@@ -4518,6 +4520,24 @@ 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;
- }
-