Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/mii Whitespace.



details:   https://anonhg.NetBSD.org/src/rev/f6fe9d7664a5
branches:  trunk
changeset: 846520:f6fe9d7664a5
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Nov 21 09:48:57 2019 +0000

description:
Whitespace.

diffstat:

 sys/dev/mii/gphyter.c |  6 +++---
 sys/dev/mii/ipgphy.c  |  8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (63 lines):

diff -r 6eac8944d0b9 -r f6fe9d7664a5 sys/dev/mii/gphyter.c
--- a/sys/dev/mii/gphyter.c     Thu Nov 21 09:18:16 2019 +0000
+++ b/sys/dev/mii/gphyter.c     Thu Nov 21 09:48:57 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gphyter.c,v 1.33 2019/03/25 07:34:13 msaitoh Exp $     */
+/*     $NetBSD: gphyter.c,v 1.34 2019/11/21 09:48:57 msaitoh Exp $     */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gphyter.c,v 1.33 2019/03/25 07:34:13 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gphyter.c,v 1.34 2019/11/21 09:48:57 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -264,7 +264,7 @@
                        return;
                }
 
-               switch (physup & (PHY_SUP_SPEED1|PHY_SUP_SPEED0)) {
+               switch (physup & (PHY_SUP_SPEED1 | PHY_SUP_SPEED0)) {
                case PHY_SUP_SPEED1:
                        mii->mii_media_active |= IFM_1000_T;
                        PHY_READ(sc, MII_100T2SR, &gtsr);
diff -r 6eac8944d0b9 -r f6fe9d7664a5 sys/dev/mii/ipgphy.c
--- a/sys/dev/mii/ipgphy.c      Thu Nov 21 09:18:16 2019 +0000
+++ b/sys/dev/mii/ipgphy.c      Thu Nov 21 09:48:57 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipgphy.c,v 1.5 2019/11/21 03:04:21 msaitoh Exp $ */
+/*     $NetBSD: ipgphy.c,v 1.6 2019/11/21 09:48:57 msaitoh Exp $ */
 /*     $OpenBSD: ipgphy.c,v 1.19 2015/07/19 06:28:12 yuo Exp $ */
 
 /*-
@@ -33,7 +33,7 @@
  * Driver for the IC Plus IP1000A/IP1001 10/100/1000 PHY.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipgphy.c,v 1.5 2019/11/21 03:04:21 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipgphy.c,v 1.6 2019/11/21 09:48:57 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -118,7 +118,7 @@
        //sc->mii_capabilities &= ~BMSR_ANEG;
        if (sc->mii_capabilities & BMSR_EXTSTAT)
                PHY_READ(sc, MII_EXTSR, &sc->mii_extcapabilities);
- 
+
        mii_phy_add_media(sc);
        aprint_normal("\n");
 }
@@ -256,7 +256,7 @@
 
        PHY_READ(sc, MII_BMSR, &bmsr);
        PHY_READ(sc, MII_BMSR, &bmsr);
-       if (bmsr & BMSR_LINK) 
+       if (bmsr & BMSR_LINK)
                mii->mii_media_status |= IFM_ACTIVE;
 
        PHY_READ(sc, MII_BMCR, &bmcr);



Home | Main Index | Thread Index | Old Index