From 37f00bc257d0e785fad1d0ffbd7dcbf09e863417 Mon Sep 17 00:00:00 2001 From: Alexander Ziaee Date: Mon, 19 May 2025 15:42:01 -0400 Subject: [PATCH] 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) Differential Revision: https://reviews.freebsd.org/D50412 --- share/man/man4/Makefile | 1 + share/man/man4/mtkswitch.4 | 45 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 share/man/man4/mtkswitch.4 diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 2f997c68c55..ed39aafebbc 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -341,6 +341,7 @@ MAN= aac.4 \ msdosfs.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 00000000000..c879df16179 --- /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 .