From nobody Sun Nov 26 00:38:56 2023 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sd8wc2yPrz522VV; Sun, 26 Nov 2023 00:38:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sd8wc2Thfz3KTW; Sun, 26 Nov 2023 00:38:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700959136; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gNpU9EuN8DrFxkGE+VKvHlLcg/Xr+ERurS3kUfuWqW8=; b=oVB+bvasZ0oA8XRK8N5Uqbi34hPUTuR8Ro52mMhJXForR3SIGypI0k5+xTqcwqBq6g9V8Z YvTJj5qwFBIIt2rHC5NMgKc69A5dFWMPLwv54pR2YOj4sz8+sMhXC0YHjGAPEJZj4X5SSI jfrYIKj7/gFYjpP6alkn+ZrRo40N7bpR4+xel2CQTH8lKmu7Rur0N3ZigQBcUKGn7DxpZq PimecW/kWN++eHG4EJSJJ3JbhiBNbwyVS+TdSzftn5dzyrrCECMOGQH3XtL1rFnBs0O4qD uYEjE9kqW8ocBx+5lDWI7srDiT3Aug6bgi7TuwwyoqGTojF9HeZ5hGsZ45u62Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700959136; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gNpU9EuN8DrFxkGE+VKvHlLcg/Xr+ERurS3kUfuWqW8=; b=SoCxNnRlC7m6EI0YWy8q/4YYTkq/QQDO1tQtVnw9zy1MIW4wdjlvCiTYUlFy66gjWYw8t7 iqzNZyomusJWEYGuPO0rHX5J3pu+fvPtinNYTyDb34AKAYjvLl/H8Bd/sykYgY7enT0PDX cIovXtGaz+AJSycE9rdgY6SpOEDaaOJmgSH0J2AhuXN7pPZYG1suFt92K/FVdMvoYDNUIO YM4ljY59fQK4OmO0LEbgdt7JY/F/2BzemFPeDJrS5mLZvsxE5Hl+1lfBAtGNexvOLPsy8r 5hwthUjwniv5UqarA7iucoKLg7bZ79FdTxT4mt1XeBXFxZ1K0m6kDGA8WYdP/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700959136; a=rsa-sha256; cv=none; b=wow88oql/r/cy5qLo+yrSbotHUJS+ChN/63+qRGuZXWwf4IbG0Z5orn5cXRbOTTU8K1Fh/ lC7qotVxQdvr/DXU2/vj6j8lWvHJYt16PiTALRPvV91x8vWpUin31FJ48vnXxGlM2NCpuD DU/hM9r7V2sR3nfAt9gefgTdmv1JD+UhcqYH0U4wgTakgDK9gf9jWHoe23Ps/FqM3CMWsI TzOqOFgY6BPavPuLMvKmFoNH7c1rtPdYF1tHKMncuimpVE/PLBAyo70YvHzn50v/jWYLwa aDN/hszEzsA8NX9Er9IsZAuAf81p/AbRJW8RxunliED+GqOcLmdEJ77bURSJqQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sd8wc1Y9NzZf8; Sun, 26 Nov 2023 00:38:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AQ0cuO5074528; Sun, 26 Nov 2023 00:38:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AQ0cupA074525; Sun, 26 Nov 2023 00:38:56 GMT (envelope-from git) Date: Sun, 26 Nov 2023 00:38:56 GMT Message-Id: <202311260038.3AQ0cupA074525@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Xin LI Subject: git: 78aec1cebfec - stable/13 - re(4): Add support for 8168FP HW rev List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: delphij X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 78aec1cebfece84f643983cb09e4555b11e748f1 Auto-Submitted: auto-generated The branch stable/13 has been updated by delphij: URL: https://cgit.FreeBSD.org/src/commit/?id=78aec1cebfece84f643983cb09e4555b11e748f1 commit 78aec1cebfece84f643983cb09e4555b11e748f1 Author: Brad Smith AuthorDate: 2023-11-23 20:13:00 +0000 Commit: Xin LI CommitDate: 2023-11-26 00:38:46 +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 10ac98e3345f..0570f2574d37 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}, @@ -1497,6 +1498,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 2fba14475256..793c924d969b 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