Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/mii fix comment. from PR kern/44395



details:   https://anonhg.NetBSD.org/src/rev/39a9e1a67c7d
branches:  trunk
changeset: 761273:39a9e1a67c7d
user:      cegger <cegger%NetBSD.org@localhost>
date:      Sat Jan 22 18:26:12 2011 +0000

description:
fix comment. from PR kern/44395

diffstat:

 sys/dev/mii/atphy.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2bdb49a6998f -r 39a9e1a67c7d sys/dev/mii/atphy.c
--- a/sys/dev/mii/atphy.c       Sat Jan 22 18:02:18 2011 +0000
+++ b/sys/dev/mii/atphy.c       Sat Jan 22 18:26:12 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atphy.c,v 1.8 2011/01/22 08:13:47 cegger Exp $ */
+/*     $NetBSD: atphy.c,v 1.9 2011/01/22 18:26:12 cegger Exp $ */
 /*     $OpenBSD: atphy.c,v 1.1 2008/09/25 20:47:16 brad Exp $  */
 
 /*-
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atphy.c,v 1.8 2011/01/22 08:13:47 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atphy.c,v 1.9 2011/01/22 18:26:12 cegger Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -220,7 +220,7 @@
                PHY_WRITE(sc, MII_ANAR, anar);
 
                /*
-                * Reset the PHY so all changes take effect.
+                * Start autonegotiation.
                 */
                PHY_WRITE(sc, MII_BMCR, bmcr | BMCR_AUTOEN | BMCR_STARTNEG);
 done:



Home | Main Index | Thread Index | Old Index