Loading drivers/net/benet/be.h +13 −2 Original line number Diff line number Diff line Loading @@ -35,21 +35,32 @@ #define DRV_VER "2.101.205" #define DRV_NAME "be2net" #define BE_NAME "ServerEngines BladeEngine2 10Gbps NIC" #define BE3_NAME "ServerEngines BladeEngine3 10Gbps NIC" #define OC_NAME "Emulex OneConnect 10Gbps NIC" #define OC_NAME1 "Emulex OneConnect 10Gbps NIC (be3)" #define DRV_DESC BE_NAME "Driver" #define BE_VENDOR_ID 0x19a2 #define BE_DEVICE_ID1 0x211 #define BE_DEVICE_ID2 0x221 #define OC_DEVICE_ID1 0x700 #define OC_DEVICE_ID2 0x701 #define OC_DEVICE_ID3 0x710 static inline char *nic_name(struct pci_dev *pdev) { if (pdev->device == OC_DEVICE_ID1 || pdev->device == OC_DEVICE_ID2) switch (pdev->device) { case OC_DEVICE_ID1: case OC_DEVICE_ID2: return OC_NAME; else case OC_DEVICE_ID3: return OC_NAME1; case BE_DEVICE_ID2: return BE3_NAME; default: return BE_NAME; } } /* Number of bytes of an RX frame that are copied to skb->data */ #define BE_HDR_LEN 64 Loading Loading
drivers/net/benet/be.h +13 −2 Original line number Diff line number Diff line Loading @@ -35,21 +35,32 @@ #define DRV_VER "2.101.205" #define DRV_NAME "be2net" #define BE_NAME "ServerEngines BladeEngine2 10Gbps NIC" #define BE3_NAME "ServerEngines BladeEngine3 10Gbps NIC" #define OC_NAME "Emulex OneConnect 10Gbps NIC" #define OC_NAME1 "Emulex OneConnect 10Gbps NIC (be3)" #define DRV_DESC BE_NAME "Driver" #define BE_VENDOR_ID 0x19a2 #define BE_DEVICE_ID1 0x211 #define BE_DEVICE_ID2 0x221 #define OC_DEVICE_ID1 0x700 #define OC_DEVICE_ID2 0x701 #define OC_DEVICE_ID3 0x710 static inline char *nic_name(struct pci_dev *pdev) { if (pdev->device == OC_DEVICE_ID1 || pdev->device == OC_DEVICE_ID2) switch (pdev->device) { case OC_DEVICE_ID1: case OC_DEVICE_ID2: return OC_NAME; else case OC_DEVICE_ID3: return OC_NAME1; case BE_DEVICE_ID2: return BE3_NAME; default: return BE_NAME; } } /* Number of bytes of an RX frame that are copied to skb->data */ #define BE_HDR_LEN 64 Loading