Root/target/linux/generic-2.4/patches/210-fix-irq-serial.patch

1--- a/drivers/char/serial.c
2+++ b/drivers/char/serial.c
3@@ -5458,18 +5458,6 @@ static int __init rs_init(void)
4                sizeof(struct rs_multiport_struct));
5 #endif
6     }
7-#ifdef CONFIG_SERIAL_CONSOLE
8- /*
9- * The interrupt of the serial console port
10- * can't be shared.
11- */
12- if (sercons.flags & CON_CONSDEV) {
13- for(i = 0; i < NR_PORTS; i++)
14- if (i != sercons.index &&
15- rs_table[i].irq == rs_table[sercons.index].irq)
16- rs_table[i].irq = 0;
17- }
18-#endif
19     show_serial_version();
20 
21     /* Initialize the tty_driver structure */
22

Archive Download this file



interactive