Skip to content

Instantly share code, notes, and snippets.

@ozaki-r
Created March 2, 2014 08:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ozaki-r/668c64b215462945fb8a to your computer and use it in GitHub Desktop.
Save ozaki-r/668c64b215462945fb8a to your computer and use it in GitHub Desktop.
Patches for mii(4) and micphy(4).
Index: share/man/man4/micphy.4
===================================================================
RCS file: share/man/man4/micphy.4
diff -N share/man/man4/micphy.4
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ share/man/man4/micphy.4 2 Mar 2014 08:32:44 -0000
@@ -0,0 +1,38 @@
+.\" $NetBSD$
+.\"
+.\" Copyright (c) 2014 The NetBSD Foundation, Inc.
+.\" All rights reserved.
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.\"
+.Dd March 2, 2014
+.Dt MICPHY 4
+.Os
+.Sh NAME
+.Nm micphy
+.Nd Micrel KSZ9021 10/100/1000 PHY driver
+.Sh SYNOPSIS
+.Cd "micphy* at mii? phy ?"
+.Sh DESCRIPTION
+The
+.Nm
+driver currently supports only Micrel KSZ9021RN PHY.
+The driver has a fixup for
+.Xr cpsw.4
+which requires Giga-E PHYs to adjust RGMII signal timing.
+.Sh SEE ALSO
+.Xr cpsw 4 ,
+.Xr ifmedia 4 ,
+.Xr intro 4 ,
+.Xr mii 4 ,
+.Xr ifconfig 8
Index: share/man/man4/mii.4
===================================================================
RCS file: /cvsroot/src/share/man/man4/mii.4,v
retrieving revision 1.25
diff -u -r1.25 mii.4
--- share/man/man4/mii.4 13 Mar 2012 19:25:40 -0000 1.25
+++ share/man/man4/mii.4 2 Mar 2014 08:32:44 -0000
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd October 13, 2006
+.Dd March 2, 2014
.Dt MII 4
.Os
.Sh NAME
@@ -51,6 +51,7 @@
.Cd "iophy* at mii? phy ? # Intel 82553 PHYs"
.Cd "lxtphy* at mii? phy ? # Level One LXT-970 PHYs"
.Cd "makphy* at mii? phy ? # Marvel 88E1000 Gig-E PHYs"
+.Cd "micphy* at mii? phy ? # Micrel KSZ9021 Gig-E PHYs"
.Cd "nsphy* at mii? phy ? # NatSemi DP83840 PHYs"
.Cd "nsphyter* at mii? phy ? # NatSemi DP83843/DP83815 PHYs"
.Cd "pnaphy* at mii? phy ? # Generic HomePNA PHYs"
@@ -113,6 +114,7 @@
.Xr iophy 4 ,
.Xr lxtphy 4 ,
.Xr makphy 4 ,
+.Xr micphy 4 ,
.Xr nsphy 4 ,
.Xr nsphyter 4 ,
.Xr pnaphy 4 ,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment