git: d0cdec7a2042 - main - em: sync platform detection with Linux
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 May 2023 10:14:52 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/src/commit/?id=d0cdec7a20422bf48dfe9b2118a3d776e8202c57
commit d0cdec7a20422bf48dfe9b2118a3d776e8202c57
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-05-17 10:14:02 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-05-17 10:14:02 +0000
em: sync platform detection with Linux
Switch 16 and 23 adapters from tgp to adp.
PR: 270929
Differential revision: https://reviews.freebsd.org/D39977
Approved by: erj, kbowling
---
sys/dev/e1000/e1000_api.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sys/dev/e1000/e1000_api.c b/sys/dev/e1000/e1000_api.c
index 9442dd26651b..adb6e4d08b8a 100644
--- a/sys/dev/e1000/e1000_api.c
+++ b/sys/dev/e1000/e1000_api.c
@@ -333,16 +333,16 @@ s32 e1000_set_mac_type(struct e1000_hw *hw)
case E1000_DEV_ID_PCH_TGP_I219_V14:
case E1000_DEV_ID_PCH_TGP_I219_LM15:
case E1000_DEV_ID_PCH_TGP_I219_V15:
- case E1000_DEV_ID_PCH_ADL_I219_LM16:
- case E1000_DEV_ID_PCH_ADL_I219_V16:
- case E1000_DEV_ID_PCH_RPL_I219_LM23:
- case E1000_DEV_ID_PCH_RPL_I219_V23:
mac->type = e1000_pch_tgp;
break;
+ case E1000_DEV_ID_PCH_ADL_I219_LM16:
+ 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_LM22:
case E1000_DEV_ID_PCH_RPL_I219_V22:
+ case E1000_DEV_ID_PCH_RPL_I219_LM23:
+ case E1000_DEV_ID_PCH_RPL_I219_V23:
mac->type = e1000_pch_adp;
break;
case E1000_DEV_ID_PCH_MTP_I219_LM18: