summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-03-12 11:32:18 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-03-12 11:32:18 +0000
commit9e385e6f38130bacc8c29f3f3feff9e4a3199824 (patch)
tree1d2c86eee7c92ac3805f7ae4dbe8ffdc4b4d0df8
parent61d4ed69ac92256a7085d93e9c218b52563c10ae (diff)
Fix comment typo, of -> if.
ok sthen@
-rw-r--r--sys/dev/mii/amphy.c4
-rw-r--r--sys/dev/mii/gentbi.c4
-rw-r--r--sys/dev/mii/nsphy.c4
-rw-r--r--sys/dev/mii/nsphyter.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/mii/amphy.c b/sys/dev/mii/amphy.c
index 61e6c0d1595..2b15d02c7c2 100644
--- a/sys/dev/mii/amphy.c
+++ b/sys/dev/mii/amphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amphy.c,v 1.16 2008/03/02 16:04:08 brad Exp $ */
+/* $OpenBSD: amphy.c,v 1.17 2008/03/12 11:32:17 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -213,7 +213,7 @@ amphy_status(struct mii_softc *sc)
if (bmcr & BMCR_AUTOEN) {
/*
- * The PAR status bits are only valid of autonegotiation
+ * The PAR status bits are only valid if autonegotiation
* has completed (or it's disabled).
*/
if ((bmsr & BMSR_ACOMP) == 0) {
diff --git a/sys/dev/mii/gentbi.c b/sys/dev/mii/gentbi.c
index 8f2ed99d4ee..3f91a37d3a1 100644
--- a/sys/dev/mii/gentbi.c
+++ b/sys/dev/mii/gentbi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gentbi.c,v 1.3 2005/03/26 04:40:09 krw Exp $ */
+/* $OpenBSD: gentbi.c,v 1.4 2008/03/12 11:32:17 brad Exp $ */
/* $NetBSD: gentbi.c,v 1.12 2004/04/11 15:40:56 thorpej Exp $ */
/*-
@@ -264,7 +264,7 @@ gentbi_status(struct mii_softc *sc)
if (bmcr & BMCR_AUTOEN) {
/*
- * The media status bits are only valid of autonegotiation
+ * The media status bits are only valid if autonegotiation
* has completed (or it's disabled).
*/
if ((bmsr & BMSR_ACOMP) == 0) {
diff --git a/sys/dev/mii/nsphy.c b/sys/dev/mii/nsphy.c
index 7d0825e66f8..c9c7c3f0c83 100644
--- a/sys/dev/mii/nsphy.c
+++ b/sys/dev/mii/nsphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nsphy.c,v 1.21 2008/03/02 16:05:26 brad Exp $ */
+/* $OpenBSD: nsphy.c,v 1.22 2008/03/12 11:32:17 brad Exp $ */
/* $NetBSD: nsphy.c,v 1.25 2000/02/02 23:34:57 thorpej Exp $ */
/*-
@@ -272,7 +272,7 @@ nsphy_status(struct mii_softc *sc)
if (bmcr & BMCR_AUTOEN) {
/*
- * The PAR status bits are only valid of autonegotiation
+ * The PAR status bits are only valid if autonegotiation
* has completed (or it's disabled).
*/
if ((bmsr & BMSR_ACOMP) == 0) {
diff --git a/sys/dev/mii/nsphyter.c b/sys/dev/mii/nsphyter.c
index 8dd11b640e7..080756d5bb1 100644
--- a/sys/dev/mii/nsphyter.c
+++ b/sys/dev/mii/nsphyter.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nsphyter.c,v 1.13 2006/12/27 19:11:09 kettenis Exp $ */
+/* $OpenBSD: nsphyter.c,v 1.14 2008/03/12 11:32:17 brad Exp $ */
/* $NetBSD: nsphyter.c,v 1.5 2000/02/02 23:34:57 thorpej Exp $ */
/*-
@@ -245,7 +245,7 @@ nsphyter_status(struct mii_softc *sc)
if (bmcr & BMCR_AUTOEN) {
/*
- * The media status bits are only valid of autonegotiation
+ * The media status bits are only valid if autonegotiation
* has completed (or it's disabled).
*/
if ((bmsr & BMSR_ACOMP) == 0) {