From nobody Thu Mar 14 02:06:08 2024 X-Original-To: dev-commits-ports-all@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 4Tw9hx17jbz5Dw00; Thu, 14 Mar 2024 02:06:09 +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 4Tw9hw5Xcvz4SLp; Thu, 14 Mar 2024 02:06:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710381968; 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=xTokKOLSeo4d05gU7ZV/exw893cdAIqrHsIz+Ouu0g8=; b=ThwY5Iqh/CTWHL5naqrqs6NWPcn13PqX9jNMV/mWJHbh1b9h1P8RQI6MR5RXoiIIcj/g0R KtUhuuE6IsJLJL3cXBs3AMk4VhOJYQoHJcCiDosVziNnOjpDxHlfEjSfVN86M5QBU3dwil YE7ZiuA98+/HEj0OgNc2my/Dy99xctBb9ifC4tEjEkDFz2YmnhNFTiIXdkuCyg8ZxKSLko 9r7BkVoRonrjHupw46RW1jiJYcoyabRv9bZgW5xHSfp/9ZUkc9+M6nFOuhf0fvZ7vU490X z81AJLf6PAhqtteeCxxt9r5S3QBo4529JDJOHHJCONTdYn0AN4zIIOh50fonBw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710381968; a=rsa-sha256; cv=none; b=grFw/Rbj4Z93yBQN6QtouuP8shAXkxjtWmsGNCwhDu3Ooam9vMtjnTKZItkwE4IV8PCTUV iZV5geh5M4mmSRw+n3GO2UMfQSAsc7pSzAiRaB+87zt/Z8UeBzWj/+ETIII2i9CWurrpqy ShPPuKYweklYfpAQEfZQbsnjW63JQhFnckrkp6MZkDmSW3fWsb1lz6j7kMDLb9M838Eusa SpENjhet3sc5jsrk7cgX4mmlwaW8Gge3YRV1ZVoYgfqFYV6uJsvsXmYCS1T+8Jg7+afHbe 2IeqE2AEnaeI5ekjs9j0JOpWNEmJtX3VJUM0x/bm4jUf8HOIAd7e4VUHo8uRCw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710381968; 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=xTokKOLSeo4d05gU7ZV/exw893cdAIqrHsIz+Ouu0g8=; b=fNkZiUWtU3G9i82wiB0WOxso0vXTjvRicVCF8JqhNPnKMh54fjVTIER5ny2jUN7b+lZNb4 oVyxXpFjqh22hRVlF4GyTjc3TJRrehLTML332Gern2nPWH1t34J+kluA9Ccg8Jcw3MktES DjPzfvtf/w6oJdERQ7/hCgpihO5TPd2ykso/mhF8V4bD5M2+TtByAPnWj7zWv947EWDuQH 5JDJYvIyOfZ8NTaWLFGhsOs83Q4qhz6dasIuM8FU4jYwETleLGu1G5hmFo63flSPYJn+jK dTEK2dF+MM8ov2mWb+BmbP1qqdARXo7cNuPyXibpxWJd0stxj3WBwyMqIeUUZg== 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 4Tw9hw58Nmz17DT; Thu, 14 Mar 2024 02:06:08 +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 42E268lW064985; Thu, 14 Mar 2024 02:06:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42E268VN064982; Thu, 14 Mar 2024 02:06:08 GMT (envelope-from git) Date: Thu, 14 Mar 2024 02:06:08 GMT Message-Id: <202403140206.42E268VN064982@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Koichiro Iwao Subject: git: f967592923a2 - 2024Q1 - net/realrek-re-kmod198: add port for 198 version List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: meta X-Git-Repository: ports X-Git-Refname: refs/heads/2024Q1 X-Git-Reftype: branch X-Git-Commit: f967592923a21e7b44c11a45f7a241439a97f163 Auto-Submitted: auto-generated The branch 2024Q1 has been updated by meta: URL: https://cgit.FreeBSD.org/ports/commit/?id=f967592923a21e7b44c11a45f7a241439a97f163 commit f967592923a21e7b44c11a45f7a241439a97f163 Author: Koichiro Iwao AuthorDate: 2024-03-13 08:52:50 +0000 Commit: Koichiro Iwao CommitDate: 2024-03-14 02:04:19 +0000 net/realrek-re-kmod198: add port for 198 version as a workaround for bug 275882. This port can be retired when the bug is resolved completely. Many people need the 198 version because of the hang-up issue. Another set of people need 199 because of another issue. This port is needed to satisfy both sets of people until complete until a complete solution for 275882 is found. PR: 275882 Sponsored by: Cybertrust Japan (cherry picked from commit b770c919121526ebbf61b81fd6b832619319df60) --- net/Makefile | 1 + net/realtek-re-kmod198/Makefile | 23 +++++++++++++++++++++++ net/realtek-re-kmod198/distinfo | 3 +++ net/realtek-re-kmod198/pkg-descr | 25 +++++++++++++++++++++++++ net/realtek-re-kmod198/pkg-message | 22 ++++++++++++++++++++++ 5 files changed, 74 insertions(+) diff --git a/net/Makefile b/net/Makefile index 409dae9883a5..efc5fdb15241 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1205,6 +1205,7 @@ SUBDIR += rdist6 SUBDIR += read_bbrlog SUBDIR += realtek-re-kmod + SUBDIR += realtek-re-kmod198 SUBDIR += reaver SUBDIR += recvnet SUBDIR += redir diff --git a/net/realtek-re-kmod198/Makefile b/net/realtek-re-kmod198/Makefile new file mode 100644 index 000000000000..32fcf4d7a800 --- /dev/null +++ b/net/realtek-re-kmod198/Makefile @@ -0,0 +1,23 @@ +PORTNAME= re +PORTVERSION= 198.00 +DISTVERSIONPREFIX= v +CATEGORIES= net +PKGNAMEPREFIX= realtek- +PKGNAMESUFFIX= -kmod198 + +MAINTAINER= meta@FreeBSD.org +COMMENT= Kernel driver for Realtek PCIe Ethernet Controllers +WWW= https://github.com/alexdupre/rtl_bsd_drv + +LICENSE= BSD4CLAUSE + +USES= kmod tar:tgz uidfix + +USE_GITHUB= yes +GH_ACCOUNT= alexdupre +GH_PROJECT= rtl_bsd_drv +GH_TAGNAME= d3a7a3d + +PLIST_FILES= ${KMODDIR}/if_re.ko + +.include diff --git a/net/realtek-re-kmod198/distinfo b/net/realtek-re-kmod198/distinfo new file mode 100644 index 000000000000..fffba63c3ca5 --- /dev/null +++ b/net/realtek-re-kmod198/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1689608993 +SHA256 (alexdupre-rtl_bsd_drv-v198.00-d3a7a3d_GH0.tar.gz) = 43ff94e41a4c674143f9a37299c40b92fd7f94a25fa33cf253114eda0f9f49fa +SIZE (alexdupre-rtl_bsd_drv-v198.00-d3a7a3d_GH0.tar.gz) = 132723 diff --git a/net/realtek-re-kmod198/pkg-descr b/net/realtek-re-kmod198/pkg-descr new file mode 100644 index 000000000000..8f2ccbde49e5 --- /dev/null +++ b/net/realtek-re-kmod198/pkg-descr @@ -0,0 +1,25 @@ +Realtek PCIe FE / GBE / 2.5G / Gaming Ethernet Family Controller +kernel driver. + +This is the official driver from Realtek with a few patches to +improve stability and performance. It can be loaded instead of +the FreeBSD driver built into the GENERIC kernel if you experience +issues with it (eg. watchdog timeouts), or your card is not supported. + +Supported devices: + +* 2.5G Gigabit Ethernet + - RTL8125 / RTL8125B(S)(G) + +* 10/100/1000M Gigabit Ethernet + - RTL8111B / RTL8111C / RTL8111D / RTL8111E / RTL8111F / RTL8111G(S) + RTL8111H(S) / RTL8118(A)(S) / RTL8119i / RTL8111L / RTL8111K + - RTL8168B / RTL8168E / RTL8168H + - RTL8111DP / RTL8111EP / RTL8111FP + - RTL8411 / RTL8411B + +* 10/100M Fast Ethernet + - RTL8101E / RTL8102E / RTL8103E / RTL8105E / RTL8106E / RTL8107E + - RTL8401 / RTL8402 + +See also: https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software diff --git a/net/realtek-re-kmod198/pkg-message b/net/realtek-re-kmod198/pkg-message new file mode 100644 index 000000000000..223da6049f14 --- /dev/null +++ b/net/realtek-re-kmod198/pkg-message @@ -0,0 +1,22 @@ +[ +{ type: install + message: <