aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.4/patches/210-fix-irq-serial.patch
blob: 5fb1bfec6ff50fc13b3fa64443cc9dfef72a3ced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Index: linux-2.4.35.4/drivers/char/serial.c
===================================================================
--- linux-2.4.35.4.orig/drivers/char/serial.c	2007-12-15 05:19:44.934981737 +0100
+++ linux-2.4.35.4/drivers/char/serial.c	2007-12-15 05:20:00.539871010 +0100
@@ -5458,18 +5458,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 */