[PATCH] 8250_hcdp needs irq sharing

From: Alex Williamson <alex.williamson_at_hp.com>
Date: 2004-04-27 00:42:59
   Here's a trivial patch that makes 8250_hcdp setup the correct flags
when IRQ sharing is enabled for serial ports.  Please apply.  Thanks,

	Alex

-- 
Alex Williamson                             HP Linux & Open Source Lab

===== drivers/serial/8250_hcdp.c 1.4 vs edited =====
--- 1.4/drivers/serial/8250_hcdp.c	Sat Apr 10 03:26:14 2004
+++ edited/drivers/serial/8250_hcdp.c	Sun Apr 25 21:25:42 2004
@@ -189,6 +189,9 @@
 		if (gsi)
 			port.flags |= UPF_AUTO_IRQ;
 
+#ifdef CONFIG_SERIAL_8250_SHARE_IRQ
+		port.flags |= UPF_SHARE_IRQ;
+#endif
 		/*
 		 * Note: the above memset() initializes port.line to 0,
 		 * so we register this port as ttyS0.


-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Apr 26 10:45:01 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:25 EST