git: d0b589b23134 - stable/14 - re(4): Add support for 8168FP HW rev

From: Xin LI <delphij_at_FreeBSD.org>
Date: Sun, 26 Nov 2023 00:38:35 UTC
The branch stable/14 has been updated by delphij:

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

commit d0b589b231345f449af5fa4549bbc747d6530af3
Author:     Brad Smith <brad@comstyle.com>
AuthorDate: 2023-11-23 20:13:00 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2023-11-26 00:38:05 +0000

    re(4): Add support for 8168FP HW rev
    
    (cherry picked from commit 88d2b69c719a20da9eb53f1c58adf6ecb005f8ce)
    Differential Revision:  https://reviews.freebsd.org/D42671
---
 sys/dev/re/if_re.c    | 2 ++
 sys/dev/rl/if_rlreg.h | 1 +
 2 files changed, 3 insertions(+)

diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c
index 83fd31fc4f0b..594ed9d60379 100644
--- a/sys/dev/re/if_re.c
+++ b/sys/dev/re/if_re.c
@@ -243,6 +243,7 @@ static const struct rl_hwrev re_hwrevs[] = {
 	{ RL_HWREV_8168E_VL, RL_8169, "8168E/8111E-VL", RL_JUMBO_MTU_6K},
 	{ RL_HWREV_8168EP, RL_8169, "8168EP/8111EP", RL_JUMBO_MTU_9K},
 	{ RL_HWREV_8168F, RL_8169, "8168F/8111F", RL_JUMBO_MTU_9K},
+	{ RL_HWREV_8168FP, RL_8169, "8168FP/8111FP", RL_JUMBO_MTU_9K},
 	{ RL_HWREV_8168G, RL_8169, "8168G/8111G", RL_JUMBO_MTU_9K},
 	{ RL_HWREV_8168GU, RL_8169, "8168GU/8111GU", RL_JUMBO_MTU_9K},
 	{ RL_HWREV_8168H, RL_8169, "8168H/8111H", RL_JUMBO_MTU_9K},
@@ -1495,6 +1496,7 @@ re_attach(device_t dev)
 		    RL_FLAG_CMDSTOP_WAIT_TXQ | RL_FLAG_WOL_MANLINK;
 		break;
 	case RL_HWREV_8168EP:
+	case RL_HWREV_8168FP:
 	case RL_HWREV_8168G:
 	case RL_HWREV_8411B:
 		sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR |
diff --git a/sys/dev/rl/if_rlreg.h b/sys/dev/rl/if_rlreg.h
index 808d11e34346..7de7e2fcc585 100644
--- a/sys/dev/rl/if_rlreg.h
+++ b/sys/dev/rl/if_rlreg.h
@@ -194,6 +194,7 @@
 #define	RL_HWREV_8168EP		0x50000000
 #define	RL_HWREV_8168GU		0x50800000
 #define	RL_HWREV_8168H		0x54000000
+#define	RL_HWREV_8168FP		0x54800000
 #define	RL_HWREV_8411B		0x5C800000
 #define	RL_HWREV_8139		0x60000000
 #define	RL_HWREV_8139A		0x70000000