From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: linux-ia64@vger.kernel.org
Subject: [PATCH] HCDP IRQ fixup
Date: Fri, 02 Apr 2004 21:45:22 +0000 [thread overview]
Message-ID: <200404021445.22223.bjorn.helgaas@hp.com> (raw)
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,
reply other threads:[~2004-04-02 21:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200404021445.22223.bjorn.helgaas@hp.com \
--to=bjorn.helgaas@hp.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox