|
|
56c216 |
--- a/src/lpfc_attr.c
|
|
|
56c216 |
+++ b/src/lpfc_attr.c
|
|
Kmods SIG |
062371 |
@@ -7553,6 +7553,12 @@
|
|
|
56c216 |
switch (phba->pcidev->device) {
|
|
|
56c216 |
case PCI_DEVICE_ID_SKYHAWK:
|
|
|
56c216 |
case PCI_DEVICE_ID_SKYHAWK_VF:
|
|
|
56c216 |
+ case PCI_DEVICE_ID_LANCER_FCOE:
|
|
|
56c216 |
+ case PCI_DEVICE_ID_LANCER_FCOE_VF:
|
|
|
56c216 |
+ case PCI_DEVICE_ID_ZEPHYR_DCSP:
|
|
|
56c216 |
+ case PCI_DEVICE_ID_HORNET:
|
|
|
56c216 |
+ case PCI_DEVICE_ID_TIGERSHARK:
|
|
|
56c216 |
+ case PCI_DEVICE_ID_TOMCAT:
|
|
|
56c216 |
phba->hba_flag |= HBA_FCOE_MODE;
|
|
|
56c216 |
break;
|
|
|
56c216 |
default:
|
|
|
56c216 |
--- a/src/lpfc_els.c
|
|
|
56c216 |
+++ b/src/lpfc_els.c
|
|
Kmods SIG |
062371 |
@@ -4516,6 +4516,15 @@
|
|
|
56c216 |
case IOSTAT_LOCAL_REJECT:
|
|
|
56c216 |
switch ((irsp->un.ulpWord[4] & IOERR_PARAM_MASK)) {
|
|
|
56c216 |
case IOERR_LOOP_OPEN_FAILURE:
|
|
|
56c216 |
+ if (cmd == ELS_CMD_FLOGI) {
|
|
|
56c216 |
+ if (PCI_DEVICE_ID_HORNET ==
|
|
|
56c216 |
+ phba->pcidev->device) {
|
|
|
56c216 |
+ phba->fc_topology = LPFC_TOPOLOGY_LOOP;
|
|
|
56c216 |
+ phba->pport->fc_myDID = 0;
|
|
|
56c216 |
+ phba->alpa_map[0] = 0;
|
|
|
56c216 |
+ phba->alpa_map[1] = 0;
|
|
|
56c216 |
+ }
|
|
|
56c216 |
+ }
|
|
|
56c216 |
if (cmd == ELS_CMD_PLOGI && cmdiocb->retry == 0)
|
|
|
56c216 |
delay = 1000;
|
|
|
56c216 |
retry = 1;
|
|
|
56c216 |
--- a/src/lpfc_hw.h
|
|
|
56c216 |
+++ b/src/lpfc_hw.h
|
|
Kmods SIG |
062371 |
@@ -1687,25 +1687,55 @@
|
|
|
56c216 |
|
|
|
56c216 |
/* Start FireFly Register definitions */
|
|
|
56c216 |
#define PCI_VENDOR_ID_EMULEX 0x10df
|
|
|
56c216 |
+#define PCI_DEVICE_ID_FIREFLY 0x1ae5
|
|
|
56c216 |
+#define PCI_DEVICE_ID_PROTEUS_VF 0xe100
|
|
|
56c216 |
+#define PCI_DEVICE_ID_BALIUS 0xe131
|
|
|
56c216 |
+#define PCI_DEVICE_ID_PROTEUS_PF 0xe180
|
|
|
56c216 |
#define PCI_DEVICE_ID_LANCER_FC 0xe200
|
|
|
56c216 |
+#define PCI_DEVICE_ID_LANCER_FC_VF 0xe208
|
|
|
56c216 |
#define PCI_DEVICE_ID_LANCER_FCOE 0xe260
|
|
|
56c216 |
+#define PCI_DEVICE_ID_LANCER_FCOE_VF 0xe268
|
|
|
56c216 |
#define PCI_DEVICE_ID_LANCER_G6_FC 0xe300
|
|
|
56c216 |
#define PCI_DEVICE_ID_LANCER_G7_FC 0xf400
|
|
Kmods SIG |
062371 |
#define PCI_DEVICE_ID_LANCER_G7P_FC 0xf500
|
|
|
56c216 |
#define PCI_DEVICE_ID_SAT_SMB 0xf011
|
|
|
56c216 |
#define PCI_DEVICE_ID_SAT_MID 0xf015
|
|
|
56c216 |
+#define PCI_DEVICE_ID_RFLY 0xf095
|
|
|
56c216 |
+#define PCI_DEVICE_ID_PFLY 0xf098
|
|
|
56c216 |
+#define PCI_DEVICE_ID_LP101 0xf0a1
|
|
|
56c216 |
+#define PCI_DEVICE_ID_TFLY 0xf0a5
|
|
|
56c216 |
+#define PCI_DEVICE_ID_BSMB 0xf0d1
|
|
|
56c216 |
#define PCI_DEVICE_ID_BMID 0xf0d5
|
|
|
56c216 |
#define PCI_DEVICE_ID_ZSMB 0xf0e1
|
|
|
56c216 |
#define PCI_DEVICE_ID_ZMID 0xf0e5
|
|
|
56c216 |
+#define PCI_DEVICE_ID_NEPTUNE 0xf0f5
|
|
|
56c216 |
+#define PCI_DEVICE_ID_NEPTUNE_SCSP 0xf0f6
|
|
|
56c216 |
+#define PCI_DEVICE_ID_NEPTUNE_DCSP 0xf0f7
|
|
|
56c216 |
#define PCI_DEVICE_ID_SAT 0xf100
|
|
|
56c216 |
#define PCI_DEVICE_ID_SAT_SCSP 0xf111
|
|
|
56c216 |
#define PCI_DEVICE_ID_SAT_DCSP 0xf112
|
|
|
56c216 |
#define PCI_DEVICE_ID_FALCON 0xf180
|
|
|
56c216 |
+#define PCI_DEVICE_ID_SUPERFLY 0xf700
|
|
|
56c216 |
+#define PCI_DEVICE_ID_DRAGONFLY 0xf800
|
|
|
56c216 |
+#define PCI_DEVICE_ID_CENTAUR 0xf900
|
|
|
56c216 |
+#define PCI_DEVICE_ID_PEGASUS 0xf980
|
|
|
56c216 |
+#define PCI_DEVICE_ID_THOR 0xfa00
|
|
|
56c216 |
+#define PCI_DEVICE_ID_VIPER 0xfb00
|
|
|
56c216 |
+#define PCI_DEVICE_ID_LP10000S 0xfc00
|
|
|
56c216 |
+#define PCI_DEVICE_ID_LP11000S 0xfc10
|
|
|
56c216 |
+#define PCI_DEVICE_ID_LPE11000S 0xfc20
|
|
|
56c216 |
#define PCI_DEVICE_ID_SAT_S 0xfc40
|
|
|
56c216 |
+#define PCI_DEVICE_ID_PROTEUS_S 0xfc50
|
|
|
56c216 |
+#define PCI_DEVICE_ID_HELIOS 0xfd00
|
|
|
56c216 |
+#define PCI_DEVICE_ID_HELIOS_SCSP 0xfd11
|
|
|
56c216 |
+#define PCI_DEVICE_ID_HELIOS_DCSP 0xfd12
|
|
|
56c216 |
#define PCI_DEVICE_ID_ZEPHYR 0xfe00
|
|
|
56c216 |
+#define PCI_DEVICE_ID_HORNET 0xfe05
|
|
|
56c216 |
#define PCI_DEVICE_ID_ZEPHYR_SCSP 0xfe11
|
|
|
56c216 |
#define PCI_DEVICE_ID_ZEPHYR_DCSP 0xfe12
|
|
|
56c216 |
#define PCI_VENDOR_ID_SERVERENGINE 0x19a2
|
|
|
56c216 |
+#define PCI_DEVICE_ID_TIGERSHARK 0x0704
|
|
|
56c216 |
+#define PCI_DEVICE_ID_TOMCAT 0x0714
|
|
|
56c216 |
#define PCI_DEVICE_ID_SKYHAWK 0x0724
|
|
|
56c216 |
#define PCI_DEVICE_ID_SKYHAWK_VF 0x072c
|
|
|
56c216 |
|
|
Kmods SIG |
062371 |
@@ -4324,11 +4354,16 @@
|
|
|
56c216 |
static inline int
|
|
|
56c216 |
lpfc_is_LC_HBA(unsigned short device)
|
|
|
56c216 |
{
|
|
|
56c216 |
- if ((device == PCI_DEVICE_ID_BMID) ||
|
|
|
56c216 |
+ if ((device == PCI_DEVICE_ID_TFLY) ||
|
|
|
56c216 |
+ (device == PCI_DEVICE_ID_PFLY) ||
|
|
|
56c216 |
+ (device == PCI_DEVICE_ID_LP101) ||
|
|
|
56c216 |
+ (device == PCI_DEVICE_ID_BMID) ||
|
|
|
56c216 |
+ (device == PCI_DEVICE_ID_BSMB) ||
|
|
|
56c216 |
(device == PCI_DEVICE_ID_ZMID) ||
|
|
|
56c216 |
(device == PCI_DEVICE_ID_ZSMB) ||
|
|
|
56c216 |
(device == PCI_DEVICE_ID_SAT_MID) ||
|
|
|
56c216 |
- (device == PCI_DEVICE_ID_SAT_SMB))
|
|
|
56c216 |
+ (device == PCI_DEVICE_ID_SAT_SMB) ||
|
|
|
56c216 |
+ (device == PCI_DEVICE_ID_RFLY))
|
|
|
56c216 |
return 1;
|
|
|
56c216 |
else
|
|
|
56c216 |
return 0;
|
|
|
56c216 |
--- a/src/lpfc_ids.h
|
|
|
56c216 |
+++ b/src/lpfc_ids.h
|
|
|
56c216 |
@@ -24,10 +24,44 @@
|
|
|
56c216 |
#include <linux/pci.h>
|
|
|
56c216 |
|
|
|
56c216 |
const struct pci_device_id lpfc_id_table[] = {
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_VIPER,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_FIREFLY,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_THOR,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_PEGASUS,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_CENTAUR,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_DRAGONFLY,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_SUPERFLY,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_RFLY,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_PFLY,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_NEPTUNE,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_NEPTUNE_SCSP,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_NEPTUNE_DCSP,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_HELIOS,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_HELIOS_SCSP,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_HELIOS_DCSP,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_BMID,
|
|
|
56c216 |
PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_BSMB,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_ZEPHYR,
|
|
|
56c216 |
PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_HORNET,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_ZEPHYR_SCSP,
|
|
|
56c216 |
PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_ZEPHYR_DCSP,
|
|
|
56c216 |
@@ -36,6 +70,16 @@
|
|
|
56c216 |
PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_ZSMB,
|
|
|
56c216 |
PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_TFLY,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LP101,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LP10000S,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LP11000S,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LPE11000S,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_SAT,
|
|
|
56c216 |
PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_SAT_MID,
|
|
|
56c216 |
@@ -48,10 +92,28 @@
|
|
|
56c216 |
PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_SAT_S,
|
|
|
56c216 |
PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_PROTEUS_VF,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_PROTEUS_PF,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_PROTEUS_S,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_SERVERENGINE, PCI_DEVICE_ID_TIGERSHARK,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_SERVERENGINE, PCI_DEVICE_ID_TOMCAT,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_FALCON,
|
|
|
56c216 |
PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_BALIUS,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LANCER_FC,
|
|
|
56c216 |
PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LANCER_FCOE,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LANCER_FC_VF,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LANCER_FCOE_VF,
|
|
|
56c216 |
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LANCER_G6_FC,
|
|
|
56c216 |
PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
56c216 |
{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LANCER_G7_FC,
|
|
|
56c216 |
--- a/src/lpfc_init.c
|
|
|
56c216 |
+++ b/src/lpfc_init.c
|
|
Kmods SIG |
062371 |
@@ -2468,9 +2468,83 @@
|
|
|
56c216 |
vp = &phba->vpd;
|
|
|
56c216 |
|
|
|
56c216 |
switch (dev_id) {
|
|
|
56c216 |
+ case PCI_DEVICE_ID_FIREFLY:
|
|
|
56c216 |
+ m = (typeof(m)){"LP6000", "PCI",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_SUPERFLY:
|
|
|
56c216 |
+ if (vp->rev.biuRev >= 1 && vp->rev.biuRev <= 3)
|
|
|
56c216 |
+ m = (typeof(m)){"LP7000", "PCI", ""};
|
|
|
56c216 |
+ else
|
|
|
56c216 |
+ m = (typeof(m)){"LP7000E", "PCI", ""};
|
|
|
56c216 |
+ m.function = "Obsolete, Unsupported Fibre Channel Adapter";
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_DRAGONFLY:
|
|
|
56c216 |
+ m = (typeof(m)){"LP8000", "PCI",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_CENTAUR:
|
|
|
56c216 |
+ if (FC_JEDEC_ID(vp->rev.biuRev) == CENTAUR_2G_JEDEC_ID)
|
|
|
56c216 |
+ m = (typeof(m)){"LP9002", "PCI", ""};
|
|
|
56c216 |
+ else
|
|
|
56c216 |
+ m = (typeof(m)){"LP9000", "PCI", ""};
|
|
|
56c216 |
+ m.function = "Obsolete, Unsupported Fibre Channel Adapter";
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_RFLY:
|
|
|
56c216 |
+ m = (typeof(m)){"LP952", "PCI",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_PEGASUS:
|
|
|
56c216 |
+ m = (typeof(m)){"LP9802", "PCI-X",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_THOR:
|
|
|
56c216 |
+ m = (typeof(m)){"LP10000", "PCI-X",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_VIPER:
|
|
|
56c216 |
+ m = (typeof(m)){"LPX1000", "PCI-X",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_PFLY:
|
|
|
56c216 |
+ m = (typeof(m)){"LP982", "PCI-X",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_TFLY:
|
|
|
56c216 |
+ m = (typeof(m)){"LP1050", "PCI-X",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_HELIOS:
|
|
|
56c216 |
+ m = (typeof(m)){"LP11000", "PCI-X2",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_HELIOS_SCSP:
|
|
|
56c216 |
+ m = (typeof(m)){"LP11000-SP", "PCI-X2",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_HELIOS_DCSP:
|
|
|
56c216 |
+ m = (typeof(m)){"LP11002-SP", "PCI-X2",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_NEPTUNE:
|
|
|
56c216 |
+ m = (typeof(m)){"LPe1000", "PCIe",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_NEPTUNE_SCSP:
|
|
|
56c216 |
+ m = (typeof(m)){"LPe1000-SP", "PCIe",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_NEPTUNE_DCSP:
|
|
|
56c216 |
+ m = (typeof(m)){"LPe1002-SP", "PCIe",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
case PCI_DEVICE_ID_BMID:
|
|
|
56c216 |
m = (typeof(m)){"LP1150", "PCI-X2", "Fibre Channel Adapter"};
|
|
|
56c216 |
break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_BSMB:
|
|
|
56c216 |
+ m = (typeof(m)){"LP111", "PCI-X2",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
case PCI_DEVICE_ID_ZEPHYR:
|
|
|
56c216 |
m = (typeof(m)){"LPe11000", "PCIe", "Fibre Channel Adapter"};
|
|
|
56c216 |
break;
|
|
Kmods SIG |
062371 |
@@ -2487,6 +2561,22 @@
|
|
|
56c216 |
case PCI_DEVICE_ID_ZSMB:
|
|
|
56c216 |
m = (typeof(m)){"LPe111", "PCIe", "Fibre Channel Adapter"};
|
|
|
56c216 |
break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_LP101:
|
|
|
56c216 |
+ m = (typeof(m)){"LP101", "PCI-X",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_LP10000S:
|
|
|
56c216 |
+ m = (typeof(m)){"LP10000-S", "PCI",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_LP11000S:
|
|
|
56c216 |
+ m = (typeof(m)){"LP11000-S", "PCI-X2",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_LPE11000S:
|
|
|
56c216 |
+ m = (typeof(m)){"LPe11000-S", "PCIe",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
case PCI_DEVICE_ID_SAT:
|
|
|
56c216 |
m = (typeof(m)){"LPe12000", "PCIe", "Fibre Channel Adapter"};
|
|
|
56c216 |
break;
|
|
Kmods SIG |
062371 |
@@ -2505,17 +2595,54 @@
|
|
|
56c216 |
case PCI_DEVICE_ID_SAT_S:
|
|
|
56c216 |
m = (typeof(m)){"LPe12000-S", "PCIe", "Fibre Channel Adapter"};
|
|
|
56c216 |
break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_HORNET:
|
|
|
56c216 |
+ m = (typeof(m)){"LP21000", "PCIe",
|
|
|
56c216 |
+ "Obsolete, Unsupported FCoE Adapter"};
|
|
|
56c216 |
+ GE = 1;
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_PROTEUS_VF:
|
|
|
56c216 |
+ m = (typeof(m)){"LPev12000", "PCIe IOV",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_PROTEUS_PF:
|
|
|
56c216 |
+ m = (typeof(m)){"LPev12000", "PCIe IOV",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_PROTEUS_S:
|
|
|
56c216 |
+ m = (typeof(m)){"LPemv12002-S", "PCIe IOV",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_TIGERSHARK:
|
|
|
56c216 |
+ oneConnect = 1;
|
|
|
56c216 |
+ m = (typeof(m)){"OCe10100", "PCIe", "FCoE"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_TOMCAT:
|
|
|
56c216 |
+ oneConnect = 1;
|
|
|
56c216 |
+ m = (typeof(m)){"OCe11100", "PCIe", "FCoE"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
case PCI_DEVICE_ID_FALCON:
|
|
|
56c216 |
m = (typeof(m)){"LPSe12002-ML1-E", "PCIe",
|
|
|
56c216 |
"EmulexSecure Fibre"};
|
|
|
56c216 |
break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_BALIUS:
|
|
|
56c216 |
+ m = (typeof(m)){"LPVe12002", "PCIe Shared I/O",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
case PCI_DEVICE_ID_LANCER_FC:
|
|
|
56c216 |
m = (typeof(m)){"LPe16000", "PCIe", "Fibre Channel Adapter"};
|
|
|
56c216 |
break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_LANCER_FC_VF:
|
|
|
56c216 |
+ m = (typeof(m)){"LPe16000", "PCIe",
|
|
|
56c216 |
+ "Obsolete, Unsupported Fibre Channel Adapter"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
case PCI_DEVICE_ID_LANCER_FCOE:
|
|
|
56c216 |
oneConnect = 1;
|
|
|
56c216 |
+ m = (typeof(m)){"OCe15100", "PCIe", "FCoE"};
|
|
|
56c216 |
+ break;
|
|
|
56c216 |
+ case PCI_DEVICE_ID_LANCER_FCOE_VF:
|
|
|
56c216 |
+ oneConnect = 1;
|
|
|
56c216 |
m = (typeof(m)){"OCe15100", "PCIe",
|
|
|
56c216 |
- "Obsolete, Unsupported FCoE Adapter"};
|
|
|
56c216 |
+ "Obsolete, Unsupported FCoE"};
|
|
|
56c216 |
break;
|
|
|
56c216 |
case PCI_DEVICE_ID_LANCER_G6_FC:
|
|
|
56c216 |
m = (typeof(m)){"LPe32000", "PCIe", "Fibre Channel Adapter"};
|
|
Kmods SIG |
062371 |
@@ -7528,6 +7655,13 @@
|
|
|
56c216 |
if (rc)
|
|
|
56c216 |
return -ENODEV;
|
|
|
56c216 |
|
|
|
56c216 |
+ if (phba->pcidev->device == PCI_DEVICE_ID_HORNET) {
|
|
|
56c216 |
+ phba->menlo_flag |= HBA_MENLO_SUPPORT;
|
|
|
56c216 |
+ /* check for menlo minimum sg count */
|
|
|
56c216 |
+ if (phba->cfg_sg_seg_cnt < LPFC_DEFAULT_MENLO_SG_SEG_CNT)
|
|
|
56c216 |
+ phba->cfg_sg_seg_cnt = LPFC_DEFAULT_MENLO_SG_SEG_CNT;
|
|
|
56c216 |
+ }
|
|
|
56c216 |
+
|
|
|
56c216 |
if (!phba->sli.sli3_ring)
|
|
|
56c216 |
phba->sli.sli3_ring = kcalloc(LPFC_SLI3_MAX_RING,
|
|
|
56c216 |
sizeof(struct lpfc_sli_ring),
|