Don't match non-IDE devices in probe.
Reviewed by: sos
This commit is contained in:
parent
68883b2d58
commit
81f4abc9c1
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user