You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/openwrt/target/linux/generic-2.4/patches/210-fix-irq-serial.patch

22 lines
613 B
Diff

--- 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 */