aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/aac/aac_pci.c
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2005-07-14 17:43:00 +0000
committerScott Long <scottl@FreeBSD.org>2005-07-14 17:43:00 +0000
commit1b3a4f4e7bad96131429696e22bdfc2208eb9001 (patch)
treee6a467a11603a9ea5d3e9d9998079929cbf26b9a /sys/dev/aac/aac_pci.c
parent0cddce498989af50c3e0e476ea1c5402d88f3a14 (diff)
downloadsrc-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.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 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");