xref: /freebsd/share/man/man4/arswitch.4 (revision 8f5dbc22e595e09a8beb81ff532df58f006b91cd)
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.\"
25262717e2SFelix Johnson.\" $FreeBSD$
26262717e2SFelix Johnson.\"
27*8f5dbc22SMarius Strobl.Dd August 8, 2023
28262717e2SFelix Johnson.Dt ARSWITCH 4
29262717e2SFelix Johnson.Os
30262717e2SFelix Johnson.Sh NAME
31262717e2SFelix Johnson.Nm arswitch
32262717e2SFelix Johnson.Nd driver for Atheros Fast Ethernet switch
33262717e2SFelix Johnson.Sh SYNOPSIS
34262717e2SFelix Johnson.Cd "device mdio"
35262717e2SFelix Johnson.Cd "device etherswitch"
36262717e2SFelix Johnson.Cd "device arswitch"
37262717e2SFelix Johnson.Sh DESCRIPTION
38262717e2SFelix JohnsonThe
39262717e2SFelix Johnson.Nm
40262717e2SFelix Johnsondevice driver provides a management interface to multiple Atheros
41262717e2SFelix Johnsonfast ethernet switch chips:
42*8f5dbc22SMarius Strobl.Bl -tag -compact -width "AR8216"
43262717e2SFelix Johnson.It AR8216
44262717e2SFelix JohnsonFast Ethernet Switch
45262717e2SFelix Johnson.It AR8226
46262717e2SFelix Johnson.It AR8316
47262717e2SFelix JohnsonSix-port Gigabit Ethernet Switch
48262717e2SFelix Johnson.It AR8327
49262717e2SFelix JohnsonSeven-port Gigabit Ethernet Switch
50262717e2SFelix Johnson.El
51262717e2SFelix Johnson.Pp
52262717e2SFelix JohnsonThe driver uses an
53262717e2SFelix Johnson.Xr mdio 4
54262717e2SFelix Johnsonor
55262717e2SFelix Johnson.Xr miibus 4
56262717e2SFelix Johnsoninterface to configure the ethernet interface.
57262717e2SFelix Johnson.Pp
58262717e2SFelix JohnsonThis driver supports port based vlan, and
59262717e2SFelix JohnsonIEEE 802.1Q (QinQ).
60262717e2SFelix JohnsonThese options can be configured with the
61262717e2SFelix Johnson.Xr etherswitchcfg 8
62262717e2SFelix Johnsoncommand.
63262717e2SFelix Johnson.Nm
64262717e2SFelix Johnsonsupports
65262717e2SFelix Johnson.Dv addtag ,
66262717e2SFelix Johnson.Dv striptag ,
67262717e2SFelix Johnsonand
68262717e2SFelix Johnson.Dv doubletag .
69262717e2SFelix Johnson.Dv addtag
70262717e2SFelix Johnsonand
71262717e2SFelix Johnson.Dv striptag
72262717e2SFelix Johnsonare mutually exclusive.
73262717e2SFelix Johnson.Pp
74262717e2SFelix JohnsonSetting the switch MAC address is not supported.
75262717e2SFelix Johnson.Sh SEE ALSO
76262717e2SFelix Johnson.Xr etherswitch 4 ,
77262717e2SFelix Johnson.Xr etherswitchcfg 8
78262717e2SFelix Johnson.Sh HISTORY
79262717e2SFelix JohnsonThe
80262717e2SFelix Johnson.Nm
81262717e2SFelix Johnsondevice driver first appeared in
82262717e2SFelix Johnson.Fx 12.0 .
83262717e2SFelix Johnson.Sh AUTHORS
84262717e2SFelix JohnsonThe
85262717e2SFelix Johnson.Nm
86262717e2SFelix Johnsonmanual was written by
87262717e2SFelix Johnson.An Felix Johnson .
88