FreeBSD Bugzilla – Attachment 227869 Details for
Bug 258473
net/realtek-re-kmod: enable for other architectures and fix version number
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
realtek updates
realtek.diff (text/plain), 1.72 KB, created by
Franco Fichtner
on 2021-09-13 08:55:40 UTC
(
hide
)
Description:
realtek updates
Filename:
MIME Type:
Creator:
Franco Fichtner
Created:
2021-09-13 08:55:40 UTC
Size:
1.72 KB
patch
obsolete
>diff --git a/net/realtek-re-kmod/Makefile b/net/realtek-re-kmod/Makefile >index 27d6904c57c1..b84d283e5cf3 100644 >--- a/net/realtek-re-kmod/Makefile >+++ b/net/realtek-re-kmod/Makefile >@@ -1,22 +1,20 @@ > # Created by: Alex Dupre <ale@FreeBSD.org> > > PORTNAME= re >-DISTVERSION= v196.04 >-PORTREVISION= 3 >+PORTVERSION= 196.04 >+DISTVERSIONPREFIX= v >+PORTREVISION= 4 > CATEGORIES= net > MASTER_SITES= LOCAL/ale > PKGNAMEPREFIX= realtek- > PKGNAMESUFFIX= -kmod >-DISTNAME= rtl_bsd_drv_${DISTVERSION} >+DISTNAME= rtl_bsd_drv_${DISTVERSIONPREFIX}${PORTVERSION} > > MAINTAINER= ale@FreeBSD.org > COMMENT= Kernel driver for Realtek PCIe Ethernet Controllers > > LICENSE= BSD4CLAUSE > >-ONLY_FOR_ARCHS= amd64 i386 >-ONLY_FOR_ARCHS_REASON= uses X86-specific code >- > USES= kmod tar:tgz uidfix > > PLIST_FILES= ${KMODDIR}/if_re.ko >diff --git a/net/realtek-re-kmod/files/patch-optional-dash b/net/realtek-re-kmod/files/patch-optional-dash >new file mode 100644 >index 000000000000..f08f9b2fc2d9 >--- /dev/null >+++ b/net/realtek-re-kmod/files/patch-optional-dash >@@ -0,0 +1,20 @@ >+--- if_re.c >++++ if_re.c >+@@ -4355,6 +4355,7 @@ static void re_init_software_variable(struct re_softc *sc) >+ sc->re_dash = re_check_dash(sc); >+ >+ if (sc->re_dash) { >++#if defined(__amd64__) || defined(__i386__) >+ if (HW_DASH_SUPPORT_TYPE_3(sc)) { >+ u_int64_t CmacMemPhysAddress; >+ bus_space_handle_t cmac_ioaddr; >+@@ -4374,6 +4375,9 @@ static void re_init_software_variable(struct re_softc *sc) >+ sc->re_mapped_cmac_handle = cmac_ioaddr; >+ } >+ } >++#else >++ sc->re_dash = 0; >++#endif >+ } >+ >+ switch(sc->re_type) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 258473
: 227869