summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2018-03-05 08:56:49 +0000
committermsaitoh <msaitoh@NetBSD.org>2018-03-05 08:56:49 +0000
commit72cfaa0ce736ff9f06c839c1da1d417ed77a1cd5 (patch)
tree90b94f6eaad5c42e980fc66f022e787204d8dd44 /sys/dev
parent645c0a81e0b3537d07b1d933ac2c3ba5091728f8 (diff)
KNF in comment. No functional change.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mii/mii_physubr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/mii/mii_physubr.c b/sys/dev/mii/mii_physubr.c
index 5f5814d71be..c0d6eb32131 100644
--- a/sys/dev/mii/mii_physubr.c
+++ b/sys/dev/mii/mii_physubr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: mii_physubr.c,v 1.80 2013/06/20 13:56:29 roy Exp $ */
+/* $NetBSD: mii_physubr.c,v 1.81 2018/03/05 08:56:49 msaitoh Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mii_physubr.c,v 1.80 2013/06/20 13:56:29 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mii_physubr.c,v 1.81 2018/03/05 08:56:49 msaitoh Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -237,9 +237,9 @@ mii_phy_auto(struct mii_softc *sc, int waitfor)
}
/*
- *for 1000-base-T, autonegotiation mus be enabled, but
- *if we're not set to auto, only advertise
- *1000-base-T with the link partner.
+ * For 1000-base-T, autonegotiation must be enabled,
+ * but if we're not set to auto, only advertise
+ * 1000-base-T with the link partner.
*/
if (IFM_SUBTYPE(ife->ifm_media) == IFM_1000_T) {
anar &= ~(ANAR_T4|ANAR_TX_FD|ANAR_TX|ANAR_10_FD|ANAR_10);