HCDP IRQ fixup
PATCH 1/1 HCDP IRQ fixup
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,