aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/aac
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
parent0cddce498989af50c3e0e476ea1c5402d88f3a14 (diff)
Notes
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 15c4416a16477..94d2e12cbce11 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");