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
This commit is contained in:
Scott Long 2005-07-14 17:43:00 +00:00
parent 0cddce4989
commit 1b3a4f4e7b

View File

@ -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");