summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2005-07-14 17:43:00 +0000
committerscottl <scottl@FreeBSD.org>2005-07-14 17:43:00 +0000
commit389f3fcd454f21bc15705780b0f155c8d373103f (patch)
treee6a467a11603a9ea5d3e9d9998079929cbf26b9a /sys/dev/aac
parent2dbb0a62ae66a931e99bb6e0ab3a4b61f96cf401 (diff)
downloadFreeBSD-src-389f3fcd454f21bc15705780b0f155c8d373103f.zip
FreeBSD-src-389f3fcd454f21bc15705780b0f155c8d373103f.tar.gz
Check the vendor and device, not subvendor and subdevice, when looking for
channel devices. This should fix Dell 2450/2550/2650 systems that have RAID enabled. This will likely not fix 2400 systems though as I don't have the appropriate PCI Id info for them. MFC After: 3 day
Diffstat (limited to 'sys/dev/aac')
-rw-r--r--sys/dev/aac/aac_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aac/aac_pci.c b/sys/dev/aac/aac_pci.c
index 15c4416..94d2e12 100644
--- a/sys/dev/aac/aac_pci.c
+++ b/sys/dev/aac/aac_pci.c
@@ -356,8 +356,8 @@ static int
aacch_probe(device_t dev)
{
- if ((pci_get_subvendor(dev) != 0x9005) ||
- (pci_get_subdevice(dev) != 0x00c5))
+ if ((pci_get_vendor(dev) != 0x9005) ||
+ (pci_get_device(dev) != 0x00c5))
return (ENXIO);
device_set_desc(dev, "AAC RAID Channel");
OpenPOWER on IntegriCloud