diff options
author | Scott Long <scottl@FreeBSD.org> | 2005-07-14 17:43:00 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2005-07-14 17:43:00 +0000 |
commit | 1b3a4f4e7bad96131429696e22bdfc2208eb9001 (patch) | |
tree | e6a467a11603a9ea5d3e9d9998079929cbf26b9a /sys/dev/aac/aac_pci.c | |
parent | 0cddce498989af50c3e0e476ea1c5402d88f3a14 (diff) | |
download | src-1b3a4f4e7bad96131429696e22bdfc2208eb9001.tar.gz src-1b3a4f4e7bad96131429696e22bdfc2208eb9001.zip |
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
Notes
Notes:
svn path=/head/; revision=147998
Diffstat (limited to 'sys/dev/aac/aac_pci.c')
-rw-r--r-- | sys/dev/aac/aac_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aac/aac_pci.c b/sys/dev/aac/aac_pci.c index 15c4416a1647..94d2e12cbce1 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"); |