Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2025 19:50:30 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f468366ecc8c - main - mtw.4: Fix a couple of nits
Message-ID:  <202502071950.517JoUXg074959@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=f468366ecc8c55f96e5ef0f35c1973989ba6d3d5

commit f468366ecc8c55f96e5ef0f35c1973989ba6d3d5
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-02-07 19:40:32 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-02-07 19:50:12 +0000

    mtw.4: Fix a couple of nits
    
    - Only install it when MK_USB is set to "yes", like we do for other USB
      NIC drivers.
    - Create a hardlink named if_mtw.4, like we do for other NIC drivers.
    
    PR:             284638
    Fixes:          c14b01624261 ("mt7601U: Importing if_mtw from OpenBSD")
---
 share/man/man4/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 600b4dfd9504..13afc9b8d399 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -338,7 +338,6 @@ MAN=	aac.4 \
 	msdosfs.4 \
 	msk.4 \
 	mtio.4 \
-	mtw.4 \
 	multicast.4 \
 	muge.4 \
 	mvs.4 \
@@ -1008,6 +1007,7 @@ _pfsync.4=	pfsync.4
 
 .if ${MK_USB} != "no"
 MAN+=	\
+	mtw.4 \
 	otus.4 \
 	otusfw.4 \
 	rsu.4 \
@@ -1066,6 +1066,7 @@ MAN+=	\
 	veriexec.4 \
 	zyd.4
 
+MLINKS+=mtw.4 if_mtw.4
 MLINKS+=otus.4 if_otus.4
 MLINKS+=rsu.4 if_rsu.4
 MLINKS+=rtwn_usb.4 if_rtwn_usb.4



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502071950.517JoUXg074959>