Re: [patch] sis650 irq router fix for 2.4.x

Davide Libenzi
2003-05-27T22:16:09Z

On Tue, 27 May 2003, Thomas Winischhofer wrote:

> I patched the kernels of my 3 650 variants today (using a simpler
> variant than submitted by Davide), and it works well. They are running a
> webcam permanently, one is copying from and to a USB floppy in a loop,
> and I am using a USB mouse on all of them.
>
> The issue is that the 0x6x register hack seems to be required for _all_
> 96x variants. These come with the 740 as well as all 650 versions, and
> probably many of the older chips (645, etc), too.
>
> Unfortunately, I know of no way how to find out about these south
> bridges. They have the same PCI ID like the IRQ controller and ISA
> bridge of the 620, 530, 630 and the old 5595... and partly even the same
> revision number. Typical SiS stuff, lines up exactly with their graphics
> hardware...
>
> Vojtech recommended doing it like the IDE drivers, but - as I said to
> him - it feels a bit inappropriate to poke around in the IDE config
> space for IRQ reasons... But anyone interested should take a look into
> the newest 5513 ide driver (in the bk tree).

It does not look right to me either to poke the IDE controller. Another
solution might be to parse the routing table and gather informations from
there. Example, the findings of 0x61,...,0x63 will tell us that we're
dealing with newer chipsets that uses those for values for the 3 OHCI and
the EHCI. The revision ID trick seems not effective, at least looking at
your machine with rev-id 0 that has 0x61..63. Martin, was the revision id
0, that you suggested to be handled with the old router, minded ?

- Davide