From: "Aleksey Gorelov" <Aleksey_Gorelov@Phoenix.com>
To: <marcelo.tosatti@cyclades.com>
Cc: <giancarlo.formicuccia@gmail.com>, <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.4] Fix incorrect Asus k7m irq router detection
Date: Fri, 29 Jul 2005 15:04:29 -0700 [thread overview]
Message-ID: <0EF82802ABAA22479BC1CE8E2F60E8C341E2AF@scl-exch2k3.phoenix.com> (raw)
Hi Marcello,
Here is 2.4 version of a patch submitted earlier for 2.6 by Giancarlo
Formicuccia.
this patch:
http://marc.theaimsgroup.com/?l=bk-commits-head&m=111955644929114&w=2
uncovered a k7m bios bug, where the VT82C686A router is reported as
being "586-compatible". The two chips have different pirq mapping, so
this leads to "irq routing conflict" on many pci devices.
Patch for 2.4.32-pre2
Signed-off-by: Aleksey Gorelov <aleksey_gorelov@phoenix.com>
--- linux-2.4.31-old/arch/i386/kernel/pci-irq.c 2005-07-29
14:44:12.000000000 -0700
+++ linux-2.4.31/arch/i386/kernel/pci-irq.c 2005-07-29
14:47:44.000000000 -0700
@@ -664,6 +664,13 @@
static __init int via_router_probe(struct irq_router *r, struct pci_dev
*router, u16 device)
{
/* FIXME: We should move some of the quirk fixup stuff here */
+
+ if (router->device == PCI_DEVICE_ID_VIA_82C686 &&
+ device == PCI_DEVICE_ID_VIA_82C586_0) {
+ /* Asus k7m bios wrongly reports 82C686A as
586-compatible */
+ device = PCI_DEVICE_ID_VIA_82C686;
+ }
+
switch(device)
{
case PCI_DEVICE_ID_VIA_82C586_0:
next reply other threads:[~2005-07-29 22:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-29 22:04 Aleksey Gorelov [this message]
2005-07-30 12:17 ` Giancarlo Formicuccia
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=0EF82802ABAA22479BC1CE8E2F60E8C341E2AF@scl-exch2k3.phoenix.com \
--to=aleksey_gorelov@phoenix.com \
--cc=giancarlo.formicuccia@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
/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
all inboxes | Powered by JetHome®