Changeset View
Changeset View
Standalone View
Standalone View
share/man/man4/ksz8995ma.4
- This file was copied from share/man/man4/etherswitch.4.
.\" Copyright (c) 2015 Christian Brueffer | .\"- | ||||
.\" Copyright (c) 2017 Hiroki Mori | |||||
.\" All rights reserved. | .\" All rights reserved. | ||||
.\" | .\" | ||||
.\" Redistribution and use in source and binary forms, with or without | .\" Redistribution and use in source and binary forms, with or without | ||||
.\" modification, are permitted provided that the following conditions | .\" modification, are permitted provided that the following conditions | ||||
.\" are met: | .\" are met: | ||||
.\" 1. Redistributions of source code must retain the above copyright | .\" 1. Redistributions of source code must retain the above copyright | ||||
.\" notice, this list of conditions and the following disclaimer. | .\" notice, this list of conditions and the following disclaimer. | ||||
.\" 2. Redistributions in binary form must reproduce the above copyright | .\" 2. Redistributions in binary form must reproduce the above copyright | ||||
Show All 9 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd January 5, 2015 | .Dd April 5, 2017 | ||||
.Dt ETHERSWITCH 4 | .Dt KSZ8995MA 4 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm etherswitch | .Nm ksz8995ma | ||||
.Nd "Ethernet switch framework" | .Nd driver for Micrel KSZ8995MA fast ethernet switch chip | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
To compile the framework into the kernel, | .Cd "device spi" | ||||
place the following lines in the | |||||
kernel configuration file: | |||||
.Bd -ragged -offset indent | |||||
.Cd "device etherswitch" | .Cd "device etherswitch" | ||||
.Cd "device miiproxy" | .Cd "device ksz8995ma" | ||||
.Cd "device iicbus" | .Pp | ||||
.Ed | .Cd hint.ksz8995ma.0.at="spibus0" | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm | .Nm | ||||
driver provides a framework for Ethernet switch devices. | device driver provides a management interface to Micrel KSZ8995MA fast ethernet switch chip. This driver use spi interface. | ||||
bcr: Line break between the sentences. The second sentence should be:
This driver uses the spi… | |||||
.Sh FILES | .Pp | ||||
.Bl -tag -width ".Pa /dev/etherswitch?" -compact | This driver support is port and dot1q vlan. dot1q support port base tag/untag. | ||||
bcrUnsubmitted Not Done Inline ActionsThis driver supports port and dot1q vlan. Line break. bcr: This driver supports port and dot1q vlan. Line break.
dot1q supports port based tag/untag. | |||||
.It Pa /dev/etherswitch? | .Sh EXAMPLES | ||||
.Nm | Configure dot1q vlan by etherswitchcfg command. | ||||
bcrUnsubmitted Not Done Inline ActionsSame as in the other man pages. bcr: Same as in the other man pages. | |||||
device nodes | .Pp | ||||
.El | .Dl # etherswitchcfg config vlan_mode dot1q | ||||
.Pp | |||||
Configure port 5 is tagging port. | |||||
bcrUnsubmitted Not Done Inline Actionsis => as the bcr: is => as the | |||||
.Pp | |||||
.Dl # etherswitchcfg port5 addtag | |||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr arswitch 4 , | .Xr etherswitch 4 , | ||||
.Xr iicbus 4 , | |||||
.Xr ip17x 4 , | |||||
.Xr rtl8366rb 4 , | |||||
.Xr ukswitch 4 , | |||||
.Xr etherswitchcfg 8 | .Xr etherswitchcfg 8 | ||||
.Sh HISTORY | .Sh HISTORY | ||||
The | The | ||||
.Nm | .Nm | ||||
framework first appeared in | device driver first appeared in | ||||
.Fx 10.0 . | .Fx 12.0 . | ||||
.Sh AUTHORS | .Sh AUTHORS | ||||
.An Stefan Bethke | The | ||||
.Nm | |||||
driver was written by | |||||
.An Hiroki Mori |
Line break between the sentences. The second sentence should be:
This driver uses the spi interface.