View | Details | Raw Unified | Return to bug 275882 | Differences between
and this patch

Collapse All | Expand All

(-)b/net/Makefile (+1 lines)
Lines 1210-1215 Link Here
1210
    SUBDIR += rdist6
1210
    SUBDIR += rdist6
1211
    SUBDIR += read_bbrlog
1211
    SUBDIR += read_bbrlog
1212
    SUBDIR += realtek-re-kmod
1212
    SUBDIR += realtek-re-kmod
1213
    SUBDIR += realtek-re-kmod198
1213
    SUBDIR += reaver
1214
    SUBDIR += reaver
1214
    SUBDIR += recvnet
1215
    SUBDIR += recvnet
1215
    SUBDIR += redir
1216
    SUBDIR += redir
(-)b/net/realtek-re-kmod198/Makefile (+24 lines)
Added Link Here
1
PORTNAME=	re
2
PORTVERSION=	198.00
3
DISTVERSIONPREFIX=	v
4
PORTREVISION=	3
5
CATEGORIES=	net
6
PKGNAMEPREFIX=	realtek-
7
PKGNAMESUFFIX=	-kmod198
8
9
MAINTAINER=	ale@FreeBSD.org
10
COMMENT=	Kernel driver for Realtek PCIe Ethernet Controllers
11
WWW=		https://github.com/alexdupre/rtl_bsd_drv
12
13
LICENSE=	BSD4CLAUSE
14
15
USES=		kmod tar:tgz uidfix
16
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	alexdupre
19
GH_PROJECT=	rtl_bsd_drv
20
GH_TAGNAME=	d3a7a3d
21
22
PLIST_FILES=	${KMODDIR}/if_re.ko
23
24
.include <bsd.port.mk>
(-)b/net/realtek-re-kmod198/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1689608993
2
SHA256 (alexdupre-rtl_bsd_drv-v198.00-d3a7a3d_GH0.tar.gz) = 43ff94e41a4c674143f9a37299c40b92fd7f94a25fa33cf253114eda0f9f49fa
3
SIZE (alexdupre-rtl_bsd_drv-v198.00-d3a7a3d_GH0.tar.gz) = 132723
(-)b/net/realtek-re-kmod198/pkg-descr (+25 lines)
Added Link Here
1
Realtek PCIe FE / GBE / 2.5G / Gaming Ethernet Family Controller
2
kernel driver.
3
4
This is the official driver from Realtek with a few patches to
5
improve stability and performance. It can be loaded instead of
6
the FreeBSD driver built into the GENERIC kernel if you experience
7
issues with it (eg. watchdog timeouts), or your card is not supported.
8
9
Supported devices:
10
11
* 2.5G Gigabit Ethernet
12
  - RTL8125 / RTL8125B(S)(G)
13
14
* 10/100/1000M Gigabit Ethernet
15
  - RTL8111B / RTL8111C / RTL8111D / RTL8111E / RTL8111F / RTL8111G(S)
16
    RTL8111H(S) / RTL8118(A)(S) / RTL8119i / RTL8111L / RTL8111K
17
  - RTL8168B / RTL8168E / RTL8168H
18
  - RTL8111DP / RTL8111EP / RTL8111FP
19
  - RTL8411 / RTL8411B
20
21
* 10/100M Fast Ethernet
22
  - RTL8101E / RTL8102E / RTL8103E / RTL8105E / RTL8106E / RTL8107E
23
  - RTL8401 / RTL8402
24
25
See also: https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software
(-)b/net/realtek-re-kmod198/pkg-message (-1 / +22 lines)
Added Link Here
0
- 
1
[
2
{ type: install
3
  message: <<EOM
4
Add the following lines to your /boot/loader.conf
5
to override the built-in FreeBSD re(4) driver.
6
7
if_re_load="YES"
8
if_re_name="/boot/modules/if_re.ko"
9
10
By default, the size of allocated mbufs is enough
11
to receive the largest Ethernet frame supported
12
by the card.  If your memory is highly fragmented,
13
trying to allocate contiguous pages (more than
14
4096 bytes) may result in driver hangs.
15
For this reason the value is tunable at boot time,
16
e.g. if you don't need Jumbo frames you can lower
17
the memory requirements and avoid this issue with:
18
19
hw.re.max_rx_mbuf_sz="2048"
20
EOM
21
}
22
]

Return to bug 275882