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