update brcm-2.4 to 2.4.35.4, integrate new broadcom system code, update broadcom...
[openwrt/svn-archive/archive.git] / target / linux / generic-2.4 / patches / 210-fix-irq-serial.patch
1 Index: linux-2.4.35.4/drivers/char/serial.c
2 ===================================================================
3 --- linux-2.4.35.4.orig/drivers/char/serial.c 2007-12-15 05:19:44.934981737 +0100
4 +++ linux-2.4.35.4/drivers/char/serial.c 2007-12-15 05:20:00.539871010 +0100
5 @@ -5458,18 +5458,6 @@
6 sizeof(struct rs_multiport_struct));
7 #endif
8 }
9 -#ifdef CONFIG_SERIAL_CONSOLE
10 - /*
11 - * The interrupt of the serial console port
12 - * can't be shared.
13 - */
14 - if (sercons.flags & CON_CONSDEV) {
15 - for(i = 0; i < NR_PORTS; i++)
16 - if (i != sercons.index &&
17 - rs_table[i].irq == rs_table[sercons.index].irq)
18 - rs_table[i].irq = 0;
19 - }
20 -#endif
21 show_serial_version();
22
23 /* Initialize the tty_driver structure */