Module Name: src
Committed By: jdc
Date: Thu Jan 7 09:30:29 UTC 2010
Modified Files:
src/share/man/man4: gphyter.4
src/sys/dev/mii: gphyter.c
Log Message:
Add DP83865 to the supported PHY list (from OpenBSD).
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/gphyter.4
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/mii/gphyter.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man4/gphyter.4
diff -u src/share/man/man4/gphyter.4:1.2 src/share/man/man4/gphyter.4:1.3
--- src/share/man/man4/gphyter.4:1.2 Wed Apr 30 13:10:54 2008
+++ src/share/man/man4/gphyter.4 Thu Jan 7 09:30:29 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: gphyter.4,v 1.2 2008/04/30 13:10:54 martin Exp $
+.\" $NetBSD: gphyter.4,v 1.3 2010/01/07 09:30:29 jdc Exp $
.\"
.\" Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -33,15 +33,16 @@
.Os
.Sh NAME
.Nm gphyter
-.Nd Driver for National Semiconductor DP83861 10/100/1000 Ethernet PHYs
+.Nd Driver for National Semiconductor DP83861, DP83865 and DP83891 10/100/1000
+Ethernet PHYs
.Sh SYNOPSIS
.Cd "gphyter* at mii? phy ?"
.Sh DESCRIPTION
The
.Nm
-driver supports the National Semiconductor DP83861 and DP83891 (Gig PHYTER)
-10/100/1000 Ethernet PHYs. These PHYs are found on a variety of CAT5 Gigabit
-Ethernet interfaces.
+driver supports the National Semiconductor DP83861, DP83865 and DP83891
+(Gig PHYTER) 10/100/1000 Ethernet PHYs. These PHYs are found on a variety of
+CAT5 Gigabit Ethernet interfaces.
.Sh SEE ALSO
.Xr ifmedia 4 ,
.Xr intro 4 ,
Index: src/sys/dev/mii/gphyter.c
diff -u src/sys/dev/mii/gphyter.c:1.27 src/sys/dev/mii/gphyter.c:1.28
--- src/sys/dev/mii/gphyter.c:1.27 Mon Oct 19 18:41:13 2009
+++ src/sys/dev/mii/gphyter.c Thu Jan 7 09:30:28 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: gphyter.c,v 1.27 2009/10/19 18:41:13 bouyer Exp $ */
+/* $NetBSD: gphyter.c,v 1.28 2010/01/07 09:30:28 jdc Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -55,15 +55,18 @@
*/
/*
- * driver for National Semiconductor's DP83891 and DP83861 `Gig PHYTER'
- * ethernet 10/100/1000 PHYs. The DP83891 is an older, non-firmware-
- * driven version of the DP83861.
+ * driver for National Semiconductor's DP83891, DP83861 and DP83865
+ * `Gig PHYTER' ethernet 10/100/1000 PHYs. The DP83891 is an older,
+ * non-firmware-driven version of the DP83861. The DP83865 is a low
+ * power version of the DP83861.
*
- * Data Sheet available from www.national.com
+ * Data Sheets available from www.national.com:
+ * http://www.national.com/ds/DP/DP83861.pdf
+ * http://www.national.com/ds/DP/DP83865.pdf
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gphyter.c,v 1.27 2009/10/19 18:41:13 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gphyter.c,v 1.28 2010/01/07 09:30:28 jdc Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -99,6 +102,9 @@
{ MII_OUI_xxNATSEMI, MII_MODEL_xxNATSEMI_DP83861,
MII_STR_xxNATSEMI_DP83861 },
+ { MII_OUI_xxNATSEMI, MII_MODEL_xxNATSEMI_DP83865,
+ MII_STR_xxNATSEMI_DP83865 },
+
{ MII_OUI_xxNATSEMI, MII_MODEL_xxNATSEMI_DP83891,
MII_STR_xxNATSEMI_DP83891 },