diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index 2a4efbb3d1e..ffda215665e 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -181,6 +181,10 @@ 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)) + return NULL; + switch (pci_get_devid(dev)) { /* supported chipsets */ case 0x12308086: