bnxt_en: Add BCM57301 & BCM57402 devices.
authorDavid Christensen <davidch@broadcom.com>
Sun, 27 Dec 2015 23:19:29 +0000 (18:19 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Dec 2015 05:57:29 +0000 (00:57 -0500)
Added the PCI IDs for the BCM57301 and BCM57402 controllers.

Signed-off-by: David Christensen <davidch@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c

index 52dfaab0ff4af0068c9d6124f52e86591dbe2a6a..319653a3e333fa18ba2b9fa78a771a94f46dab3a 100644 (file)
@@ -72,8 +72,10 @@ MODULE_VERSION(DRV_MODULE_VERSION);
 #define BNXT_TX_PUSH_THRESH 92
 
 enum board_idx {
+       BCM57301,
        BCM57302,
        BCM57304,
+       BCM57402,
        BCM57404,
        BCM57406,
        BCM57304_VF,
@@ -84,17 +86,21 @@ enum board_idx {
 static const struct {
        char *name;
 } board_info[] = {
-       { "Broadcom BCM57302 NetXtreme-C Single-port 10Gb/25Gb/40Gb/50Gb Ethernet" },
+       { "Broadcom BCM57301 NetXtreme-C Single-port 10Gb Ethernet" },
+       { "Broadcom BCM57302 NetXtreme-C Dual-port 10Gb/25Gb Ethernet" },
        { "Broadcom BCM57304 NetXtreme-C Dual-port 10Gb/25Gb/40Gb/50Gb Ethernet" },
+       { "Broadcom BCM57402 NetXtreme-E Dual-port 10Gb Ethernet" },
        { "Broadcom BCM57404 NetXtreme-E Dual-port 10Gb/25Gb Ethernet" },
-       { "Broadcom BCM57406 NetXtreme-E Dual-port 10Gb Ethernet" },
+       { "Broadcom BCM57406 NetXtreme-E Dual-port 10GBase-T Ethernet" },
        { "Broadcom BCM57304 NetXtreme-C Ethernet Virtual Function" },
        { "Broadcom BCM57404 NetXtreme-E Ethernet Virtual Function" },
 };
 
 static const struct pci_device_id bnxt_pci_tbl[] = {
+       { PCI_VDEVICE(BROADCOM, 0x16c8), .driver_data = BCM57301 },
        { PCI_VDEVICE(BROADCOM, 0x16c9), .driver_data = BCM57302 },
        { PCI_VDEVICE(BROADCOM, 0x16ca), .driver_data = BCM57304 },
+       { PCI_VDEVICE(BROADCOM, 0x16d0), .driver_data = BCM57402 },
        { PCI_VDEVICE(BROADCOM, 0x16d1), .driver_data = BCM57404 },
        { PCI_VDEVICE(BROADCOM, 0x16d2), .driver_data = BCM57406 },
 #ifdef CONFIG_BNXT_SRIOV