Re: [RFC 0/16] gdth combined patchset & call for testers

Jeff Garzik
2007-09-30T22:53:29Z

Christoph Hellwig wrote:
> The big problem with the pci_driver conversion is that lack of device
> ids in the driver. A few years ago I sent Achim a mail to ask if there's
> a definitive list of used PCI ids, but didn't get an answer - maybe
> the mail bounced. If we can't get this list we'd have to add something
> like 500 PCI ids from the ranges currently probed, which seems rather
> odd. gdth.h has various PCI_DEVICE_ID_ defines, maybe those are the
> supported ones?

Well, gdth.c is the only user of PCI_VENDOR_ID_VORTEX (ditto for vendor
id 0x1119). Thus, gdth_search_pci() has all the info you need.

Put all the specific entries first in the PCI table. Then for the loop
entries, use (PCI_VENDOR_ID_VORTEX,PCI_ANY_ID) for the final entry and
disambiguate in the code itself.

If/when we get more specific information, it is then trivial to plug in.

Until such time, we are no worse off than we are now.

Jeff