From nobody Thu Nov 23 20:14:55 2023 X-Original-To: dev-commits-src-main@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 4Sbq8v6bl4z51lnx; Thu, 23 Nov 2023 20:14:55 +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 4Sbq8v5k24z4F58; Thu, 23 Nov 2023 20:14:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700770495; 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=NERpELrV+Hv2n5L+V+wU2j+ZO9o/uhOXL4Nzca4qBEE=; b=nFO02nGUyFdyaJ1vv05cocIwabTdrvnlD7yMP4TQNw6rhY0Q21Kobo+T8BadCdHBuN9N1M XFcLlZ+TZAfMy7H84MdRdUM73OIkDvmakDE7G/wbrhdQ4pc/kC0aXKA9ptFOPF84QAHnjM BzdjlrMZsK7XqXpmJWtTySzMyZ0FjlDzx/mUrhxTyrq/I2u0oz5/EjobD8SNI5OQLJrXpK 7ncOnt2ux43MXAF9VL/7Rgh+QtJHFsdCYdCMbX6UoEBXpm7v0EXwYKBgi2V7SmKUdiDkcz 7nedqs7bDWmh37CLo1WhiKY8DmKcUBHcY9X+ehnQhpAylhoKmMpMqD/v6xL5iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700770495; 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=NERpELrV+Hv2n5L+V+wU2j+ZO9o/uhOXL4Nzca4qBEE=; b=MFOwxKO06vIxRd/rIDwAnK+OhUZJd9M0xpapHdajikU+NAMRwGZNtP4lc+9bU4mNoXIPie TXWI2Meo1NSSBmVWo1gv7vmmva47473sN07beqdi41B8JU2dwHclxrJfLJVAmtRq/NswvG MFZi+NLktNFKstCMMdtmzQJTFpkFdxqauLieOlzi0E9AdJ4U4nZwhRUSiiaRHqV5PEv5md /CZ4K9ltDes5hMbMfrjPkYi2xolAL0oEuOKyUR4oeIcBlZ7aezfJDkpGwX0u61iggjXtHc ZDUeCxPZ4KieHJYXSc1e6mCbFhkt6bNR9an4N6y/+F4WENWSakWMnWpQjyWW6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700770495; a=rsa-sha256; cv=none; b=gcE8PB4slHMFNqAwTKJ9SVBxwseKerrd8Hrc56LOOlcmE66zMs3Z0IZu3Yt5AQOJthkNyd K3+5CSn9cmMWP7rqLyiSr+GkALOLwpLDULGr7MkOpFRD10dXDNFLeIgFOizkV912wchT69 5zMHFjS35Sgb7sKpNGLo7QSmcHWEUg7y1gYQwNaWnjWpGCy/UMp0YrEQh3LSbPtwXGy/za 5LQWlzJ070R2qB0ZM2jU/TtCEZKHNpstfjCdFan2kczvwdKPzPK8Zq9XnsKBjBCa+0n6sF QnkP6T3lhqLbmRm8FPmt6d6VZNcFVpeGbeDCMoXT65e/n+Z7MYfJI+mk63mbAA== 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 4Sbq8v4mvYz1tY; Thu, 23 Nov 2023 20:14:55 +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 3ANKEtg1027038; Thu, 23 Nov 2023 20:14:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ANKEt9s027036; Thu, 23 Nov 2023 20:14:55 GMT (envelope-from git) Date: Thu, 23 Nov 2023 20:14:55 GMT Message-Id: <202311232014.3ANKEt9s027036@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Xin LI Subject: git: 88d2b69c719a - main - re(4): Add support for 8168FP HW rev List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 88d2b69c719a20da9eb53f1c58adf6ecb005f8ce Auto-Submitted: auto-generated The branch main has been updated by delphij: URL: https://cgit.FreeBSD.org/src/commit/?id=88d2b69c719a20da9eb53f1c58adf6ecb005f8ce commit 88d2b69c719a20da9eb53f1c58adf6ecb005f8ce Author: Brad Smith AuthorDate: 2023-11-23 20:13:00 +0000 Commit: Xin LI CommitDate: 2023-11-23 20:13:00 +0000 re(4): Add support for 8168FP HW rev MFC after: 3 days 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