Skip to contentSkip to conversation

gdth pci ids

DISCUSSION Christoph Hellwig 1 participant 1 message Sep 11, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

GDTH still isn't converted to proper pci probing APIs, which means it's not hot-pluggable and installers need to do more work than nessecary.

There are various PCI IDs listen in the driver, but also an odd loop:

for (device = PCI_DEVICE_ID_VORTEX_GDT6x17RP;
device <= PCI_DEVICE_ID_VORTEX_GDTMAXRP; ++device)
gdth_search_dev(pcistr, &cnt, PCI_VENDOR_ID_VORTEX, device);

PCI_DEVICE_ID_VORTEX_GDT6x17RP has a numeric value of 0x100 and PCI_DEVICE_ID_VORTEX_GDTMAXRP has a numeric value of 0x2ff. There's PCI ID defines for various number in that space, but by far not all. Would an ID table that just lists the IDs with symbolic names in gdth.h find all adapters or do we need to add more of them?