net/e1000/base: add missing device ID
authorGuinan Sun <guinanx.sun@intel.com>
Mon, 6 Jul 2020 08:12:10 +0000 (08:12 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Jul 2020 21:38:27 +0000 (23:38 +0200)
Adding Intel(R) I210 Gigabit Network Connection 15F6 device ID for SGMII
flashless automotive device.

Signed-off-by: Kamil Bednarczyk <kamil.bednarczyk@intel.com>
Signed-off-by: Guinan Sun <guinanx.sun@intel.com>
Reviewed-by: Wei Zhao <wei.zhao1@intel.com>
drivers/net/e1000/base/e1000_api.c
drivers/net/e1000/base/e1000_hw.h

index a93e8ff..a9a4493 100644 (file)
@@ -326,6 +326,7 @@ s32 e1000_set_mac_type(struct e1000_hw *hw)
                break;
        case E1000_DEV_ID_I210_COPPER_FLASHLESS:
        case E1000_DEV_ID_I210_SERDES_FLASHLESS:
+       case E1000_DEV_ID_I210_SGMII_FLASHLESS:
        case E1000_DEV_ID_I210_COPPER:
        case E1000_DEV_ID_I210_COPPER_OEM1:
        case E1000_DEV_ID_I210_COPPER_IT:
index 6881742..b71cb4d 100644 (file)
@@ -158,6 +158,7 @@ struct e1000_hw;
 #define E1000_DEV_ID_I210_SGMII                        0x1538
 #define E1000_DEV_ID_I210_COPPER_FLASHLESS     0x157B
 #define E1000_DEV_ID_I210_SERDES_FLASHLESS     0x157C
+#define E1000_DEV_ID_I210_SGMII_FLASHLESS      0x15F6
 #define E1000_DEV_ID_I211_COPPER               0x1539
 #define E1000_DEV_ID_I354_BACKPLANE_1GBPS      0x1F40
 #define E1000_DEV_ID_I354_SGMII                        0x1F41