* [PATCH 2.4] Fix incorrect Asus k7m irq router detection
@ 2005-07-29 22:04 Aleksey Gorelov
2005-07-30 12:17 ` Giancarlo Formicuccia
0 siblings, 1 reply; 2+ messages in thread
From: Aleksey Gorelov @ 2005-07-29 22:04 UTC (permalink / raw)
To: marcelo.tosatti; +Cc: giancarlo.formicuccia, linux-kernel
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:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 2.4] Fix incorrect Asus k7m irq router detection
2005-07-29 22:04 [PATCH 2.4] Fix incorrect Asus k7m irq router detection Aleksey Gorelov
@ 2005-07-30 12:17 ` Giancarlo Formicuccia
0 siblings, 0 replies; 2+ messages in thread
From: Giancarlo Formicuccia @ 2005-07-30 12:17 UTC (permalink / raw)
To: Aleksey Gorelov; +Cc: marcelo.tosatti, linux-kernel
Aleksey Gorelov wrote:
> Hi Marcello,
>
> Here is 2.4 version of a patch submitted earlier for 2.6 by Giancarlo
> Formicuccia.
>
yep...thanks
Compiled & tested on 2.4.32-rc2.
Giancarlo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-30 12:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-29 22:04 [PATCH 2.4] Fix incorrect Asus k7m irq router detection Aleksey Gorelov
2005-07-30 12:17 ` Giancarlo Formicuccia
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®