summaryrefslogtreecommitdiff
path: root/openwrt/target/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-09-28 20:33:27 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-09-28 20:33:27 +0000
commit3b387dea5c0d52df4a9716f3d9e9c8f6d224474d (patch)
tree379ea103b945efc98da246e61811d002fe82e399 /openwrt/target/linux
parent0b57df64ce5ef49f86025efad438295e8beba183 (diff)
downloadmtk-20170518-3b387dea5c0d52df4a9716f3d9e9c8f6d224474d.zip
mtk-20170518-3b387dea5c0d52df4a9716f3d9e9c8f6d224474d.tar.gz
mtk-20170518-3b387dea5c0d52df4a9716f3d9e9c8f6d224474d.tar.bz2
add second tty to initab again. kernel patch verified to work on asus wl500gx.
SVN-Revision: 1995
Diffstat (limited to 'openwrt/target/linux')
-rw-r--r--openwrt/target/linux/linux-2.4/patches/generic/210-fix-irq-serial.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/openwrt/target/linux/linux-2.4/patches/generic/210-fix-irq-serial.patch b/openwrt/target/linux/linux-2.4/patches/generic/210-fix-irq-serial.patch
new file mode 100644
index 0000000..630dc04
--- /dev/null
+++ b/openwrt/target/linux/linux-2.4/patches/generic/210-fix-irq-serial.patch
@@ -0,0 +1,21 @@
+--- linux-2.4.30/drivers/char/serial.c 2005-06-29 20:44:46.000000000 +0200
++++ linux-2.4.30.serial/drivers/char/serial.c 2005-06-29 21:15:12.000000000 +0200
+@@ -5455,18 +5455,6 @@
+ sizeof(struct rs_multiport_struct));
+ #endif
+ }
+-#ifdef CONFIG_SERIAL_CONSOLE
+- /*
+- * The interrupt of the serial console port
+- * can't be shared.
+- */
+- if (sercons.flags & CON_CONSDEV) {
+- for(i = 0; i < NR_PORTS; i++)
+- if (i != sercons.index &&
+- rs_table[i].irq == rs_table[sercons.index].irq)
+- rs_table[i].irq = 0;
+- }
+-#endif
+ show_serial_version();
+
+ /* Initialize the tty_driver structure */