The branch main has been updated by kbowling (ports committer):

URL: 
https://cgit.FreeBSD.org/src/commit/?id=82a9d0c2c1ef75703d16e49e96d1e7b0bf046882

commit 82a9d0c2c1ef75703d16e49e96d1e7b0bf046882
Author:     Guinan Sun <[email protected]>
AuthorDate: 2020-07-06 08:12:10 +0000
Commit:     Kevin Bowling <[email protected]>
CommitDate: 2021-09-17 21:09:32 +0000

    e1000: add missing device ID
    
    Adding Intel(R) I210 Gigabit Network Connection 15F6 device ID for SGMII
    flashless automotive device.
    
    Signed-off-by: Kamil Bednarczyk <[email protected]>
    Signed-off-by: Guinan Sun <[email protected]>
    Reviewed-by: Wei Zhao <[email protected]>
    
    Approved by:    imp
    Obtained from:  DPDK (586d770bfefc01d4af97c0ddf17c960c3e49ec22)
    MFC after:      1 week
---
 sys/dev/e1000/e1000_api.c | 1 +
 sys/dev/e1000/e1000_hw.h  | 1 +
 sys/dev/e1000/if_em.c     | 1 +
 3 files changed, 3 insertions(+)

diff --git a/sys/dev/e1000/e1000_api.c b/sys/dev/e1000/e1000_api.c
index a36b228e075f..6e0f51ab7ffa 100644
--- a/sys/dev/e1000/e1000_api.c
+++ b/sys/dev/e1000/e1000_api.c
@@ -383,6 +383,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:
diff --git a/sys/dev/e1000/e1000_hw.h b/sys/dev/e1000/e1000_hw.h
index a08630618662..95973e29dbf0 100644
--- a/sys/dev/e1000/e1000_hw.h
+++ b/sys/dev/e1000/e1000_hw.h
@@ -209,6 +209,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
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c
index fadbcc2473e8..0ef542dd4c78 100644
--- a/sys/dev/e1000/if_em.c
+++ b/sys/dev/e1000/if_em.c
@@ -233,6 +233,7 @@ static pci_vendor_info_t igb_vendor_info_array[] =
        PVID(0x8086, E1000_DEV_ID_I210_COPPER_OEM1, "Intel(R) I210 (OEM)"),
        PVID(0x8086, E1000_DEV_ID_I210_COPPER_FLASHLESS, "Intel(R) I210 
Flashless (Copper)"),
        PVID(0x8086, E1000_DEV_ID_I210_SERDES_FLASHLESS, "Intel(R) I210 
Flashless (SERDES)"),
+       PVID(0x8086, E1000_DEV_ID_I210_SGMII_FLASHLESS, "Intel(R) I210 
Flashless (SGMII)"),
        PVID(0x8086, E1000_DEV_ID_I210_FIBER, "Intel(R) I210 (Fiber)"),
        PVID(0x8086, E1000_DEV_ID_I210_SERDES, "Intel(R) I210 (SERDES)"),
        PVID(0x8086, E1000_DEV_ID_I210_SGMII, "Intel(R) I210 (SGMII)"),
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to