Module Name: src
Committed By: cegger
Date: Sat Jan 22 18:26:12 UTC 2011
Modified Files:
src/sys/dev/mii: atphy.c
Log Message:
fix comment. from PR kern/44395
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/mii/atphy.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/mii/atphy.c
diff -u src/sys/dev/mii/atphy.c:1.8 src/sys/dev/mii/atphy.c:1.9
--- src/sys/dev/mii/atphy.c:1.8 Sat Jan 22 08:13:47 2011
+++ src/sys/dev/mii/atphy.c Sat Jan 22 18:26:12 2011
@@ -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: