xref: /freebsd/share/man/man4/arswitch.4 (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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 October 19, 2021
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 "AR7240"
43.It AR7240
44Wireless Network Processor SOC with five Fast Ethernet PHYs
45.It AR8216
46Fast Ethernet Switch
47.It AR8226
48.It AR8316
49Six-port Gigabit Ethernet Switch
50.It AR8327
51Seven-port Gigabit Ethernet Switch
52.It AR9340
53Wireless networking SoC
54.El
55.Pp
56The driver uses an
57.Xr mdio 4
58or
59.Xr miibus 4
60interface to configure the ethernet interface.
61.Pp
62This driver supports port based vlan, and
63IEEE 802.1Q (QinQ).
64These options can be configured with the
65.Xr etherswitchcfg 8
66command.
67.Nm
68supports
69.Dv addtag ,
70.Dv striptag ,
71and
72.Dv doubletag .
73.Dv addtag
74and
75.Dv striptag
76are mutually exclusive.
77.Pp
78Setting the switch MAC address is not supported.
79.Sh SEE ALSO
80.Xr etherswitch 4 ,
81.Xr etherswitchcfg 8
82.Sh HISTORY
83The
84.Nm
85device driver first appeared in
86.Fx 12.0 .
87.Sh AUTHORS
88The
89.Nm
90manual was written by
91.An Felix Johnson .
92