mirror of
https://github.com/opnsense/src.git
synced 2026-03-24 19:53:08 -04:00
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:
parent
2ba476324b
commit
a73cbbef8a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue