Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/mii KNF in comment. No functional change.



details:   https://anonhg.NetBSD.org/src/rev/523a4999f3ba
branches:  trunk
changeset: 320934:523a4999f3ba
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Mar 05 08:56:49 2018 +0000

description:
KNF in comment. No functional change.

diffstat:

 sys/dev/mii/mii_physubr.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r d9a014f6c3e2 -r 523a4999f3ba sys/dev/mii/mii_physubr.c
--- a/sys/dev/mii/mii_physubr.c Mon Mar 05 08:08:06 2018 +0000
+++ b/sys/dev/mii/mii_physubr.c Mon Mar 05 08:56:49 2018 +0000
@@ -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 @@
                        }
 
                        /*
-                        *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);



Home | Main Index | Thread Index | Old Index