xref: /freebsd/share/man/man4/arswitch.4 (revision 8aac90f18aef7c9eea906c3ff9a001ca7b94f375)
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.Dd August 8, 2023
26.Dt ARSWITCH 4
27.Os
28.Sh NAME
29.Nm arswitch
30.Nd driver for Atheros Fast Ethernet switch
31.Sh SYNOPSIS
32.Cd "device mdio"
33.Cd "device etherswitch"
34.Cd "device arswitch"
35.Sh DESCRIPTION
36The
37.Nm
38device driver provides a management interface to multiple Atheros
39fast ethernet switch chips:
40.Bl -tag -compact -width "AR8216"
41.It AR8216
42Fast Ethernet Switch
43.It AR8226
44.It AR8316
45Six-port Gigabit Ethernet Switch
46.It AR8327
47Seven-port Gigabit Ethernet Switch
48.El
49.Pp
50The driver uses an
51.Xr mdio 4
52or
53.Xr miibus 4
54interface to configure the ethernet interface.
55.Pp
56This driver supports port based vlan, and
57IEEE 802.1Q (QinQ).
58These options can be configured with the
59.Xr etherswitchcfg 8
60command.
61.Nm
62supports
63.Dv addtag ,
64.Dv striptag ,
65and
66.Dv doubletag .
67.Dv addtag
68and
69.Dv striptag
70are mutually exclusive.
71.Pp
72Setting the switch MAC address is not supported.
73.Sh SEE ALSO
74.Xr etherswitch 4 ,
75.Xr etherswitchcfg 8
76.Sh HISTORY
77The
78.Nm
79device driver first appeared in
80.Fx 12.0 .
81.Sh AUTHORS
82The
83.Nm
84manual was written by
85.An Felix Johnson .
86