public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] HCDP IRQ fixup
@ 2004-04-02 21:45 Bjorn Helgaas
  0 siblings, 0 replies; only message in thread
From: Bjorn Helgaas @ 2004-04-02 21:45 UTC (permalink / raw)
  To: linux-ia64

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,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-04-02 21:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-02 21:45 [PATCH] HCDP IRQ fixup Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox