Change mpt(4) probe to be an exact match to a PCI device ID. The current

code makes the mpt(4) check for 0x005A and mistakenly attach to a mfi(4)
device 0x005B.  Without this fix, mpt(4) will panic if this mfi(4) card
is in the system.

Reviewed by:	mjacob
This commit is contained in:
Doug Ambrisko 2011-11-04 01:58:55 +00:00
parent 2ba476324b
commit a73cbbef8a

View file

@ -232,7 +232,7 @@ mpt_pci_probe(device_t dev)
return (ENXIO);
}
switch ((pci_get_device(dev) & ~1)) {
switch (pci_get_device(dev)) {
case PCI_PRODUCT_LSI_FC909:
desc = "LSILogic FC909 FC Adapter";
break;