1262717e2SFelix Johnson.\"- 2262717e2SFelix Johnson.\" Copyright (c) 2021 Felix Johnson <felix.the.red@gmail.com> 3262717e2SFelix Johnson.\" 4262717e2SFelix Johnson.\" Redistribution and use in source and binary forms, with or without 5262717e2SFelix Johnson.\" modification, are permitted provided that the following conditions 6262717e2SFelix Johnson.\" are met: 7262717e2SFelix Johnson.\" 1. Redistributions of source code must retain the above copyright 8262717e2SFelix Johnson.\" notice, this list of conditions and the following disclaimer. 9262717e2SFelix Johnson.\" 2. Redistributions in binary form must reproduce the above copyright 10262717e2SFelix Johnson.\" notice, this list of conditions and the following disclaimer in the 11262717e2SFelix Johnson.\" documentation and/or other materials provided with the distribution. 12262717e2SFelix Johnson.\" 13262717e2SFelix Johnson.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 14262717e2SFelix Johnson.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15262717e2SFelix Johnson.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16262717e2SFelix Johnson.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 17262717e2SFelix Johnson.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18262717e2SFelix Johnson.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19262717e2SFelix Johnson.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20262717e2SFelix Johnson.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21262717e2SFelix Johnson.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22262717e2SFelix Johnson.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23262717e2SFelix Johnson.\" SUCH DAMAGE. 24262717e2SFelix Johnson.\" 25*8f5dbc22SMarius Strobl.Dd August 8, 2023 26262717e2SFelix Johnson.Dt ARSWITCH 4 27262717e2SFelix Johnson.Os 28262717e2SFelix Johnson.Sh NAME 29262717e2SFelix Johnson.Nm arswitch 30262717e2SFelix Johnson.Nd driver for Atheros Fast Ethernet switch 31262717e2SFelix Johnson.Sh SYNOPSIS 32262717e2SFelix Johnson.Cd "device mdio" 33262717e2SFelix Johnson.Cd "device etherswitch" 34262717e2SFelix Johnson.Cd "device arswitch" 35262717e2SFelix Johnson.Sh DESCRIPTION 36262717e2SFelix JohnsonThe 37262717e2SFelix Johnson.Nm 38262717e2SFelix Johnsondevice driver provides a management interface to multiple Atheros 39262717e2SFelix Johnsonfast ethernet switch chips: 40*8f5dbc22SMarius Strobl.Bl -tag -compact -width "AR8216" 41262717e2SFelix Johnson.It AR8216 42262717e2SFelix JohnsonFast Ethernet Switch 43262717e2SFelix Johnson.It AR8226 44262717e2SFelix Johnson.It AR8316 45262717e2SFelix JohnsonSix-port Gigabit Ethernet Switch 46262717e2SFelix Johnson.It AR8327 47262717e2SFelix JohnsonSeven-port Gigabit Ethernet Switch 48262717e2SFelix Johnson.El 49262717e2SFelix Johnson.Pp 50262717e2SFelix JohnsonThe driver uses an 51262717e2SFelix Johnson.Xr mdio 4 52262717e2SFelix Johnsonor 53262717e2SFelix Johnson.Xr miibus 4 54262717e2SFelix Johnsoninterface to configure the ethernet interface. 55262717e2SFelix Johnson.Pp 56262717e2SFelix JohnsonThis driver supports port based vlan, and 57262717e2SFelix JohnsonIEEE 802.1Q (QinQ). 58262717e2SFelix JohnsonThese options can be configured with the 59262717e2SFelix Johnson.Xr etherswitchcfg 8 60262717e2SFelix Johnsoncommand. 61262717e2SFelix Johnson.Nm 62262717e2SFelix Johnsonsupports 63262717e2SFelix Johnson.Dv addtag , 64262717e2SFelix Johnson.Dv striptag , 65262717e2SFelix Johnsonand 66262717e2SFelix Johnson.Dv doubletag . 67262717e2SFelix Johnson.Dv addtag 68262717e2SFelix Johnsonand 69262717e2SFelix Johnson.Dv striptag 70262717e2SFelix Johnsonare mutually exclusive. 71262717e2SFelix Johnson.Pp 72262717e2SFelix JohnsonSetting the switch MAC address is not supported. 73262717e2SFelix Johnson.Sh SEE ALSO 74262717e2SFelix Johnson.Xr etherswitch 4 , 75262717e2SFelix Johnson.Xr etherswitchcfg 8 76262717e2SFelix Johnson.Sh HISTORY 77262717e2SFelix JohnsonThe 78262717e2SFelix Johnson.Nm 79262717e2SFelix Johnsondevice driver first appeared in 80262717e2SFelix Johnson.Fx 12.0 . 81262717e2SFelix Johnson.Sh AUTHORS 82262717e2SFelix JohnsonThe 83262717e2SFelix Johnson.Nm 84262717e2SFelix Johnsonmanual was written by 85262717e2SFelix Johnson.An Felix Johnson . 86