1*262717e2SFelix Johnson.\"- 2*262717e2SFelix Johnson.\" Copyright (c) 2021 Felix Johnson <felix.the.red@gmail.com> 3*262717e2SFelix Johnson.\" 4*262717e2SFelix Johnson.\" Redistribution and use in source and binary forms, with or without 5*262717e2SFelix Johnson.\" modification, are permitted provided that the following conditions 6*262717e2SFelix Johnson.\" are met: 7*262717e2SFelix Johnson.\" 1. Redistributions of source code must retain the above copyright 8*262717e2SFelix Johnson.\" notice, this list of conditions and the following disclaimer. 9*262717e2SFelix Johnson.\" 2. Redistributions in binary form must reproduce the above copyright 10*262717e2SFelix Johnson.\" notice, this list of conditions and the following disclaimer in the 11*262717e2SFelix Johnson.\" documentation and/or other materials provided with the distribution. 12*262717e2SFelix Johnson.\" 13*262717e2SFelix Johnson.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14*262717e2SFelix Johnson.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15*262717e2SFelix Johnson.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16*262717e2SFelix Johnson.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17*262717e2SFelix Johnson.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18*262717e2SFelix Johnson.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19*262717e2SFelix Johnson.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20*262717e2SFelix Johnson.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21*262717e2SFelix Johnson.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22*262717e2SFelix Johnson.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23*262717e2SFelix Johnson.\" SUCH DAMAGE. 24*262717e2SFelix Johnson.\" 25*262717e2SFelix Johnson.\" $FreeBSD$ 26*262717e2SFelix Johnson.\" 27*262717e2SFelix Johnson.Dd October 19, 2021 28*262717e2SFelix Johnson.Dt ARSWITCH 4 29*262717e2SFelix Johnson.Os 30*262717e2SFelix Johnson.Sh NAME 31*262717e2SFelix Johnson.Nm arswitch 32*262717e2SFelix Johnson.Nd driver for Atheros Fast Ethernet switch 33*262717e2SFelix Johnson.Sh SYNOPSIS 34*262717e2SFelix Johnson.Cd "device mdio" 35*262717e2SFelix Johnson.Cd "device etherswitch" 36*262717e2SFelix Johnson.Cd "device arswitch" 37*262717e2SFelix Johnson.Sh DESCRIPTION 38*262717e2SFelix JohnsonThe 39*262717e2SFelix Johnson.Nm 40*262717e2SFelix Johnsondevice driver provides a management interface to multiple Atheros 41*262717e2SFelix Johnsonfast ethernet switch chips: 42*262717e2SFelix Johnson.Bl -tag -compact -width "AR7240" 43*262717e2SFelix Johnson.It AR7240 44*262717e2SFelix JohnsonWireless Network Processor SOC with five Fast Ethernet PHYs 45*262717e2SFelix Johnson.It AR8216 46*262717e2SFelix JohnsonFast Ethernet Switch 47*262717e2SFelix Johnson.It AR8226 48*262717e2SFelix Johnson.It AR8316 49*262717e2SFelix JohnsonSix-port Gigabit Ethernet Switch 50*262717e2SFelix Johnson.It AR8327 51*262717e2SFelix JohnsonSeven-port Gigabit Ethernet Switch 52*262717e2SFelix Johnson.It AR9340 53*262717e2SFelix JohnsonWireless networking SoC 54*262717e2SFelix Johnson.El 55*262717e2SFelix Johnson.Pp 56*262717e2SFelix JohnsonThe driver uses an 57*262717e2SFelix Johnson.Xr mdio 4 58*262717e2SFelix Johnsonor 59*262717e2SFelix Johnson.Xr miibus 4 60*262717e2SFelix Johnsoninterface to configure the ethernet interface. 61*262717e2SFelix Johnson.Pp 62*262717e2SFelix JohnsonThis driver supports port based vlan, and 63*262717e2SFelix JohnsonIEEE 802.1Q (QinQ). 64*262717e2SFelix JohnsonThese options can be configured with the 65*262717e2SFelix Johnson.Xr etherswitchcfg 8 66*262717e2SFelix Johnsoncommand. 67*262717e2SFelix Johnson.Nm 68*262717e2SFelix Johnsonsupports 69*262717e2SFelix Johnson.Dv addtag , 70*262717e2SFelix Johnson.Dv striptag , 71*262717e2SFelix Johnsonand 72*262717e2SFelix Johnson.Dv doubletag . 73*262717e2SFelix Johnson.Dv addtag 74*262717e2SFelix Johnsonand 75*262717e2SFelix Johnson.Dv striptag 76*262717e2SFelix Johnsonare mutually exclusive. 77*262717e2SFelix Johnson.Pp 78*262717e2SFelix JohnsonSetting the switch MAC address is not supported. 79*262717e2SFelix Johnson.Sh SEE ALSO 80*262717e2SFelix Johnson.Xr etherswitch 4 , 81*262717e2SFelix Johnson.Xr etherswitchcfg 8 82*262717e2SFelix Johnson.Sh HISTORY 83*262717e2SFelix JohnsonThe 84*262717e2SFelix Johnson.Nm 85*262717e2SFelix Johnsondevice driver first appeared in 86*262717e2SFelix Johnson.Fx 12.0 . 87*262717e2SFelix Johnson.Sh AUTHORS 88*262717e2SFelix JohnsonThe 89*262717e2SFelix Johnson.Nm 90*262717e2SFelix Johnsonmanual was written by 91*262717e2SFelix Johnson.An Felix Johnson . 92