diff options
author | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-09-28 20:33:27 +0000 |
---|---|---|
committer | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-09-28 20:33:27 +0000 |
commit | b9037feb2e9c8bb23858d7143f355e9564f2c9ac (patch) | |
tree | 379ea103b945efc98da246e61811d002fe82e399 | |
parent | 01359a31212f55fa52c55972e003dda5893e4c2b (diff) |
add second tty to initab again. kernel patch verified to work on asus wl500gx.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1995 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | openwrt/package/base-files/default/etc/inittab | 1 | ||||
-rw-r--r-- | openwrt/target/linux/linux-2.4/patches/generic/210-fix-irq-serial.patch | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/openwrt/package/base-files/default/etc/inittab b/openwrt/package/base-files/default/etc/inittab index aab2df956..3cbbe5af2 100644 --- a/openwrt/package/base-files/default/etc/inittab +++ b/openwrt/package/base-files/default/etc/inittab @@ -1,3 +1,4 @@ ::sysinit:/etc/init.d/rcS ::shutdown:/sbin/halt tts/0::askfirst:/bin/ash --login +tts/1::askfirst:/bin/ash --login 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 000000000..630dc0497 --- /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 */ |