From a8118c03e147d00c667b6b69fcf23e32456312b3 Mon Sep 17 00:00:00 2001 From: dfr Date: Sat, 16 Oct 1999 09:00:49 +0000 Subject: Relax the check for class=storage, subclass=ide to just class=storage. This allows ata to probe correctly for the HPT366 on Abit's BP6. --- sys/dev/ata/ata-all.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index ffda215..a136b6c 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -181,8 +181,7 @@ DRIVER_MODULE(ata, isa, ata_isa_driver, ata_devclass, 0, 0); static const char * ata_pcimatch(device_t dev) { - if (pci_get_class(dev) != PCIC_STORAGE || - (pci_get_subclass(dev) != PCIS_STORAGE_IDE)) + if (pci_get_class(dev) != PCIC_STORAGE) return NULL; switch (pci_get_devid(dev)) { -- cgit v1.1