diff options
author | dfr <dfr@FreeBSD.org> | 1999-10-16 09:00:49 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1999-10-16 09:00:49 +0000 |
commit | a8118c03e147d00c667b6b69fcf23e32456312b3 (patch) | |
tree | 0df47c1077c997ef89db4228b3445b0dc2488338 | |
parent | bdbbf36ec3ade74df627de97d86d3f560fe31804 (diff) | |
download | FreeBSD-src-a8118c03e147d00c667b6b69fcf23e32456312b3.zip FreeBSD-src-a8118c03e147d00c667b6b69fcf23e32456312b3.tar.gz |
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.
-rw-r--r-- | sys/dev/ata/ata-all.c | 3 |
1 files changed, 1 insertions, 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)) { |