Don't match non-IDE devices in probe.

Reviewed by: sos
This commit is contained in:
Doug Rabson 1999-10-13 18:56:49 +00:00
parent 68883b2d58
commit 81f4abc9c1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52213

View File

@ -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: