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: Mon, 25 Jul 2005 21:54:59 +0200 [thread overview]
Message-ID: <200507252155.00262.giancarlo.formicuccia@gmail.com> (raw)
In-Reply-To: <0EF82802ABAA22479BC1CE8E2F60E8C33D28A2@scl-exch2k3.phoenix.com>
Aleksey Gorelov wrote:
> Be irq routing table definition, rtr_vendor:rtr_device should contain
> COMPATIBLE pci Interrupt Router, and rtr_bus & rtr_devfn - location of
> the actual device (pirq_router_dev). So,
> 1. Apparently, there is a bug in the BIOS - 586 & 686 are not compatible
> (different mapping)
Most likely. Unfortunately, this is the last released BIOS for this old board AFAIK.
> 2. Does anybody know why compatible device is probed first, and actual
> one afterwards ? In other words, is swapping probes in the code above
> would give more correct behavior ?
>
This of course would fix my issue too...
> >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..
>
> Aleks.
>
Thanks,
Giancarlo
next prev parent reply other threads:[~2005-07-25 19:50 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 [this message]
2005-07-26 21:09 ` Giancarlo Formicuccia
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=200507252155.00262.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®