|
@@ -1784,7 +1784,9 @@ lpfc_get_hba_model_desc(struct lpfc_hba *phba, uint8_t *mdp, uint8_t *descp)
|
|
|
&& descp && descp[0] != '\0')
|
|
|
return;
|
|
|
|
|
|
- if (phba->lmt & LMT_10Gb)
|
|
|
+ if (phba->lmt & LMT_16Gb)
|
|
|
+ max_speed = 16;
|
|
|
+ else if (phba->lmt & LMT_10Gb)
|
|
|
max_speed = 10;
|
|
|
else if (phba->lmt & LMT_8Gb)
|
|
|
max_speed = 8;
|
|
@@ -1951,12 +1953,13 @@ lpfc_get_hba_model_desc(struct lpfc_hba *phba, uint8_t *mdp, uint8_t *descp)
|
|
|
"Fibre Channel Adapter"};
|
|
|
break;
|
|
|
case PCI_DEVICE_ID_LANCER_FC:
|
|
|
- oneConnect = 1;
|
|
|
- m = (typeof(m)){"Undefined", "PCIe", "Fibre Channel Adapter"};
|
|
|
+ case PCI_DEVICE_ID_LANCER_FC_VF:
|
|
|
+ m = (typeof(m)){"LPe16000", "PCIe", "Fibre Channel Adapter"};
|
|
|
break;
|
|
|
case PCI_DEVICE_ID_LANCER_FCOE:
|
|
|
+ case PCI_DEVICE_ID_LANCER_FCOE_VF:
|
|
|
oneConnect = 1;
|
|
|
- m = (typeof(m)){"Undefined", "PCIe", "FCoE"};
|
|
|
+ m = (typeof(m)){"OCe50100", "PCIe", "FCoE"};
|
|
|
break;
|
|
|
default:
|
|
|
m = (typeof(m)){"Unknown", "", ""};
|
|
@@ -1965,7 +1968,8 @@ lpfc_get_hba_model_desc(struct lpfc_hba *phba, uint8_t *mdp, uint8_t *descp)
|
|
|
|
|
|
if (mdp && mdp[0] == '\0')
|
|
|
snprintf(mdp, 79,"%s", m.name);
|
|
|
- /* oneConnect hba requires special processing, they are all initiators
|
|
|
+ /*
|
|
|
+ * oneConnect hba requires special processing, they are all initiators
|
|
|
* and we put the port number on the end
|
|
|
*/
|
|
|
if (descp && descp[0] == '\0') {
|
|
@@ -9580,6 +9584,10 @@ static struct pci_device_id lpfc_id_table[] = {
|
|
|
PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
{PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LANCER_FCOE,
|
|
|
PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LANCER_FC_VF,
|
|
|
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
+ {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_LANCER_FCOE_VF,
|
|
|
+ PCI_ANY_ID, PCI_ANY_ID, },
|
|
|
{ 0 }
|
|
|
};
|
|
|
|