From: Giancarlo Formicuccia <giancarlo.formicuccia@gmail.com>
To: "Aleksey Gorelov" <Aleksey_Gorelov@Phoenix.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: [2.6.13-rc3-git4] VIA686A polymorphs into VIA586!
Date: Tue, 26 Jul 2005 23:09:20 +0200 [thread overview]
Message-ID: <200507262309.20330.giancarlo.formicuccia@gmail.com> (raw)
In-Reply-To: <0EF82802ABAA22479BC1CE8E2F60E8C33D28A2@scl-exch2k3.phoenix.com>
Aleksey Gorelov wrote:
> >This patch brings my board back to the correct behaviour
> >[Aleksey Gorelov CC'd for review/comments/suggestions]:
> >
> >--- linux-2.6.13-git4/arch/i386/pci/irq.c.org 2005-07-23
> >11:15:12.000000000 +0200
> >+++ linux-2.6.13-git4/arch/i386/pci/irq.c 2005-07-23
> >11:55:50.000000000 +0200
> >@@ -553,10 +553,12 @@
> > switch(device)
> > {
> > case PCI_DEVICE_ID_VIA_82C586_0:
> >- r->name = "VIA";
> >- r->get = pirq_via586_get;
> >- r->set = pirq_via586_set;
> >- return 1;
> >+ if (router->device==PCI_DEVICE_ID_VIA_82C586_0) {
> >+ r->name = "VIA";
> >+ r->get = pirq_via586_get;
> >+ r->set = pirq_via586_set;
> >+ return 1;
> >+ }
> > case PCI_DEVICE_ID_VIA_82C596:
> > case PCI_DEVICE_ID_VIA_82C686:
> > case PCI_DEVICE_ID_VIA_8231:
>
> Probably, comments on buggy BIOS would be nice here..
>
Does this patch look good for you?
Who's the right developer to ask for inclusion? I'd like to see this problem addressed before 2.6.13...
Thanks,
Giancarlo
--- linux-2.6.13-git4/arch/i386/pci/irq.c.org 2005-07-23 11:15:12.000000000 +0200
+++ linux-2.6.13-git4/arch/i386/pci/irq.c 2005-07-26 20:53:11.000000000 +0200
@@ -550,6 +550,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 prev parent reply other threads:[~2005-07-26 21:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-25 17:08 Aleksey Gorelov
2005-07-25 19:54 ` Giancarlo Formicuccia
2005-07-26 21:09 ` Giancarlo Formicuccia [this message]
2005-07-27 0:40 Aleksey Gorelov
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=200507262309.20330.giancarlo.formicuccia@gmail.com \
--to=giancarlo.formicuccia@gmail.com \
--cc=Aleksey_Gorelov@Phoenix.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®