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