Support for PCI-Express 4Gb Cards.
This commit is contained in:
parent
8d3cfc6184
commit
167197ae8e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162140
@ -138,6 +138,10 @@ __FBSDID("$FreeBSD$");
|
||||
#define PCI_PRODUCT_LSI_FC7X04X 0x0640
|
||||
#endif
|
||||
|
||||
#ifndef PCI_PRODUCT_LSI_FC646
|
||||
#define PCI_PRODUCT_LSI_FC646 0x0646
|
||||
#endif
|
||||
|
||||
#ifndef PCI_PRODUCT_LSI_1030
|
||||
#define PCI_PRODUCT_LSI_1030 0x0030
|
||||
#endif
|
||||
@ -228,16 +232,19 @@ mpt_pci_probe(device_t dev)
|
||||
desc = "LSILogic FC919 FC Adapter";
|
||||
break;
|
||||
case PCI_PRODUCT_LSI_FC929:
|
||||
desc = "LSILogic FC929 FC Adapter";
|
||||
desc = "Dual LSILogic FC929 FC Adapter";
|
||||
break;
|
||||
case PCI_PRODUCT_LSI_FC919X:
|
||||
desc = "LSILogic FC919X FC Adapter";
|
||||
desc = "LSILogic FC919 FC PCI-X Adapter";
|
||||
break;
|
||||
case PCI_PRODUCT_LSI_FC929X:
|
||||
desc = "LSILogic FC929X 2Gb/s FC Adapter";
|
||||
desc = "Dual LSILogic FC929X 2Gb/s FC PCI-X Adapter";
|
||||
break;
|
||||
case PCI_PRODUCT_LSI_FC646:
|
||||
desc = "Dual LSILogic FC7X04X 4Gb/s FC PCI-Express Adapter";
|
||||
break;
|
||||
case PCI_PRODUCT_LSI_FC7X04X:
|
||||
desc = "LSILogic FC7X04X 4Gb/s FC Adapter";
|
||||
desc = "Dual LSILogic FC7X04X 4Gb/s FC PCI-X Adapter";
|
||||
break;
|
||||
case PCI_PRODUCT_LSI_1030:
|
||||
desc = "LSILogic 1030 Ultra4 Adapter";
|
||||
@ -250,7 +257,7 @@ mpt_pci_probe(device_t dev)
|
||||
case PCI_PRODUCT_LSI_SAS1068:
|
||||
case PCI_PRODUCT_LSI_SAS1068E:
|
||||
case PCI_PRODUCT_LSI_SAS1078:
|
||||
desc = "LSILogic SAS Adapter";
|
||||
desc = "LSILogic SAS/SATA Adapter";
|
||||
break;
|
||||
default:
|
||||
return (ENXIO);
|
||||
@ -406,6 +413,7 @@ mpt_pci_attach(device_t dev)
|
||||
case PCI_PRODUCT_LSI_FC919:
|
||||
case PCI_PRODUCT_LSI_FC929:
|
||||
case PCI_PRODUCT_LSI_FC919X:
|
||||
case PCI_PRODUCT_LSI_FC646:
|
||||
case PCI_PRODUCT_LSI_FC7X04X:
|
||||
mpt->is_fc = 1;
|
||||
break;
|
||||
@ -463,6 +471,7 @@ mpt_pci_attach(device_t dev)
|
||||
* If so, link with our partner (around yet)
|
||||
*/
|
||||
if ((pci_get_device(dev) & ~1) == PCI_PRODUCT_LSI_FC929 ||
|
||||
(pci_get_device(dev) & ~1) == PCI_PRODUCT_LSI_FC646 ||
|
||||
(pci_get_device(dev) & ~1) == PCI_PRODUCT_LSI_FC7X04X ||
|
||||
(pci_get_device(dev) & ~1) == PCI_PRODUCT_LSI_1030) {
|
||||
mpt_link_peer(mpt);
|
||||
|
Loading…
Reference in New Issue
Block a user