[Bug 269224] em(4): Intel I219-V (0x0DC8) is not detected by the driver
Date: Sun, 29 Jan 2023 13:20:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269224 Bug ID: 269224 Summary: em(4): Intel I219-V (0x0DC8) is not detected by the driver Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: osharoiko@gmail.com One of the NICs on ASRosk Z790M-ITX, Intel I219-V specifically, is not detected by em(4) driver. The following patch makes it work though I didn't do much testing other than regular use and 20 minutes of iperf3. There are more device IDs in https://github.com/torvalds/linux/blob/master/drivers/net/ethernet/intel/e1000e/hw.h but I only have this specific device at hands to test. diff -ru /usr/src/sys/dev/e1000/e1000_api.c e1000/e1000_api.c --- /usr/src/sys/dev/e1000/e1000_api.c 2022-12-09 01:03:57.000000000 +0000 +++ e1000/e1000_api.c 2023-01-26 00:33:49.000000000 +0000 @@ -339,6 +339,7 @@ case E1000_DEV_ID_PCH_ADL_I219_V16: case E1000_DEV_ID_PCH_ADL_I219_LM17: case E1000_DEV_ID_PCH_ADL_I219_V17: + case E1000_DEV_ID_PCH_RPL_I219_V22: mac->type = e1000_pch_adp; break; case E1000_DEV_ID_PCH_MTP_I219_LM18: diff -ru /usr/src/sys/dev/e1000/e1000_hw.h e1000/e1000_hw.h --- /usr/src/sys/dev/e1000/e1000_hw.h 2022-12-09 01:03:57.000000000 +0000 +++ e1000/e1000_hw.h 2023-01-26 00:26:09.000000000 +0000 @@ -175,6 +175,7 @@ #define E1000_DEV_ID_PCH_MTP_I219_V18 0x550B #define E1000_DEV_ID_PCH_MTP_I219_LM19 0x550C #define E1000_DEV_ID_PCH_MTP_I219_V19 0x550D +#define E1000_DEV_ID_PCH_RPL_I219_V22 0x0DC8 #define E1000_DEV_ID_82576 0x10C9 #define E1000_DEV_ID_82576_FIBER 0x10E6 #define E1000_DEV_ID_82576_SERDES 0x10E7 diff -ru /usr/src/sys/dev/e1000/if_em.c e1000/if_em.c --- /usr/src/sys/dev/e1000/if_em.c 2022-12-09 01:03:57.000000000 +0000 +++ e1000/if_em.c 2023-01-26 00:27:29.000000000 +0000 @@ -194,6 +194,7 @@ PVID(0x8086, E1000_DEV_ID_PCH_MTP_I219_V18, "Intel(R) I219-V MTP(18)"), PVID(0x8086, E1000_DEV_ID_PCH_MTP_I219_LM19, "Intel(R) I219-LM MTP(19)"), PVID(0x8086, E1000_DEV_ID_PCH_MTP_I219_V19, "Intel(R) I219-V MTP(19)"), + PVID(0x8086, E1000_DEV_ID_PCH_RPL_I219_V22, "Intel(R) I219-V RPL(22)"), /* required last entry */ PVID_END }; -- You are receiving this mail because: You are the assignee for the bug.