xref: /freebsd/share/man/man4/adm6996fc.4 (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1.\"-
2.\" Copyright (c) 2017 Hiroki Mori
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright
9.\"    notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\"    notice, this list of conditions and the following disclaimer in the
12.\"    documentation and/or other materials provided with the distribution.
13.\"
14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.Dd April 5, 2017
27.Dt ADM6996FC 4
28.Os
29.Sh NAME
30.Nm adm6996fc
31.Nd driver for Infineon ADM6996FC fast ethernet switch chip
32.Sh SYNOPSIS
33.Cd "device mdio"
34.Cd "device etherswitch"
35.Cd "device adm6996fc"
36.Pp
37.Cd hint.adm6996fc.0.at="mdio0"
38.Sh DESCRIPTION
39The
40.Nm
41device driver provides a management interface to Infineon ADM6996FC fast ethernet switch chip.
42This driver use smi interface by ethernet interface.
43.Pp
44This driver support is port and dot1q vlan.
45dot1q support port base tag/untag.
46.Sh EXAMPLES
47Configure dot1q vlan by etherswitchcfg command.
48.Pp
49.Dl # etherswitchcfg config vlan_mode dot1q
50.Pp
51Configure port 5 is tagging port.
52.Pp
53.Dl # etherswitchcfg port5 addtag
54.Sh SEE ALSO
55.Xr etherswitch 4 ,
56.Xr etherswitchcfg 8
57.Sh HISTORY
58The
59.Nm
60device driver first appeared in
61.Fx 12.0 .
62.Sh AUTHORS
63The
64.Nm
65driver was written by
66.An Hiroki Mori
67