Bug 284638 - if_mtw(4): missing manpage
Summary: if_mtw(4): missing manpage
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-07 16:34 UTC by O. Hartmann
Modified: 2025-02-07 19:52 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2025-02-07 16:34:08 UTC
While "man mtw" delivers a manpage, "man if_mtw" is empty/nonexistant.

Checking: man if_igb(4) is present. man if_em(4) is also present, as well as "man em" and "man igb".
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-02-07 19:51:09 UTC
A commit in branch main references this bug:

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(-)