git: 5af0942052b8 - releng/14.3 - mtkswitch.4: Initial manual page

From: Alexander Ziaee <ziaee_at_FreeBSD.org>
Date: Thu, 22 May 2025 03:03:05 UTC
The branch releng/14.3 has been updated by ziaee:

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

commit 5af0942052b8ce0ed49eaa056b4a962e518d26ff
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2025-05-19 19:42:01 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2025-05-22 03:01:36 +0000

    mtkswitch.4: Initial manual page
    
    Add a stub manual only saying what it is, how to include it, what is
    supported, and since when. This plugs the mtkswitch driver into the
    manual subsystem and the release hardware notes.
    
    MFC to:                 14.3
    MFC after:              3 days
    Reviewed by:            adrian, carlavilla
    Approved by:            carlavilla (mentor)
    Approved by:            re (cperciva)
    Differential Revision:  https://reviews.freebsd.org/D50412
    
    (cherry picked from commit 37f00bc257d0e785fad1d0ffbd7dcbf09e863417)
    (cherry picked from commit f31ac06711e69aed7cb4b38d8eb2aba2d7149ed8)
---
 share/man/man4/Makefile    |  1 +
 share/man/man4/mtkswitch.4 | 45 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 5895442b3d4d..3521444e29f5 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -329,6 +329,7 @@ MAN=	aac.4 \
 	mrsas.4 \
 	msk.4 \
 	mtio.4 \
+	mtkswitch.4 \
 	multicast.4 \
 	muge.4 \
 	mvs.4 \
diff --git a/share/man/man4/mtkswitch.4 b/share/man/man4/mtkswitch.4
new file mode 100644
index 000000000000..c879df161791
--- /dev/null
+++ b/share/man/man4/mtkswitch.4
@@ -0,0 +1,45 @@
+.\"
+.\" Copyright (c) 2025 Alexander Ziaee
+.\"
+.\" SPDX-License-Identifier: BSD-2-Clause
+.\"
+.Dd May 19, 2025
+.Dt MTKSWITCH 4
+.Sh NAME
+.Nm mtkswitch
+.Nd MediaTek/Ralink Ethernet switch driver
+.Sh SYNOPSIS
+.Cd device mdio
+.Cd device etherswitch
+.Cd device mtkswitch
+.Sh DESCRIPTION
+The
+.Nm
+driver supports MediaTek/Ralink Ethernet switch controllers.
+.Sh HARDWARE
+The
+.Nm
+driver supports the following Ethernet switch controllers:
+.Pp
+.Bl -bullet -compact
+.It
+MediaTek MT7628 (5 port Fast Ethernet)
+.It
+MediaTek MT7621 (5 port Gigabit Ethernet)
+.It
+MediaTek MT7620 (5 port Fast Ethernet)
+.It
+Ralink RT5350 (5 port Fast Ethernet)
+.It
+Ralink RT3352 (5 port Fast Ethernet)
+.It
+Ralink RT3050 (5 port Fast Ethernet)
+.El
+.Sh SEE ALSO
+.Xr etherswitch 4 ,
+.Xr etherswitchcfg 8
+.Sh HISTORY
+The
+.Nm
+driver appeared in
+.Fx 11.0 .