[PATCH] HCDP IRQ fixup

From: Bjorn Helgaas <bjorn.helgaas_at_hp.com>
Date: 2004-04-03 07:45:22
Some pre-production firmware has incorrect GSI values in the HCDP,
which tells us where the serial console port is, so we have to
do the auto-IRQ thing after all.

(This is in a function that will get removed if my recent early serial
console patches are accepted, but it would be convenient to have this
patch in the meantime.)

===== drivers/serial/8250_hcdp.c 1.3 vs edited =====
--- 1.3/drivers/serial/8250_hcdp.c	Mon Mar 15 15:53:32 2004
+++ edited/drivers/serial/8250_hcdp.c	Fri Apr  2 14:18:18 2004
@@ -186,6 +186,8 @@
 		port.irq = gsi;
 #endif
 		port.flags = UPF_SKIP_TEST | UPF_BOOT_AUTOCONF | UPF_RESOURCES;
+		if (gsi)
+			port.flags |= UPF_AUTO_IRQ;
 
 		/*
 		 * Note: the above memset() initializes port.line to 0,
-
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 Fri Apr 2 16:58:01 2004

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