.\" Redistribution and use in source and binary forms, with or without
@@ -24,42 +25,42 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 5, 2015
-.Dt ETHERSWITCH 4
+.Dd March 29, 2017
+.Dt E6060SW 4
.Os
.Sh NAME
-.Nm etherswitch
-.Nd "Ethernet switch framework"
+.Nm e6060sw
+.Nd driver for Marvell 88E6060 and 88E6065 fast ethernet switch chip
.Sh SYNOPSIS
-To compile the framework into the kernel,
-place the following lines in the
-kernel configuration file:
-.Bd -ragged -offset indent
+.Cd "device mdio"
.Cd "device etherswitch"
-.Cd "device miiproxy"
-.Cd "device iicbus"
-.Ed
+.Cd "device e6060sw"
+.Pp
+.Cd hint.e6060sw.0.at="mdio0"
.Sh DESCRIPTION
The
.Nm
-driver provides a framework for Ethernet switch devices.
-.Sh FILES
-.Bl -tag -width ".Pa /dev/etherswitch?" -compact
-.It Pa /dev/etherswitch?
-.Nm
-device nodes
-.El
+device driver provides a management interface to Marvell 88E6060 and 88E6065 fast ethernet switch chip. This driver use smi interface by ethernet interface.
+.Pp
+88E6060 support is only port vlan. 88E6065 support is port and dot1q vlan. dot1q support group base tag/untag.
+.Sh EXAMPLES
+Configure dot1q vlan on 88E6065 by etherswitchcfg command.
+.Pp
+.Dl # etherswitchcfg config vlan_mode dot1q
+.Pp
+Configure vlangroup with dot1q tag on 88E6065. This example is port0 as vlan 2.