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. No functional change.



details:   https://anonhg.NetBSD.org/src/rev/e7ae29400abf
branches:  trunk
changeset: 965176:e7ae29400abf
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Sep 04 06:28:30 2019 +0000

description:
KNF. No functional change.

diffstat:

 sys/dev/mii/ikphy.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r 65074644bd63 -r e7ae29400abf sys/dev/mii/ikphy.c
--- a/sys/dev/mii/ikphy.c       Wed Sep 04 06:28:08 2019 +0000
+++ b/sys/dev/mii/ikphy.c       Wed Sep 04 06:28:30 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ikphy.c,v 1.15 2019/03/25 07:34:13 msaitoh Exp $       */
+/*     $NetBSD: ikphy.c,v 1.16 2019/09/04 06:28:30 msaitoh Exp $       */
 
 /*******************************************************************************
 Copyright (c) 2001-2005, Intel Corporation 
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ikphy.c,v 1.15 2019/03/25 07:34:13 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ikphy.c,v 1.16 2019/09/04 06:28:30 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -212,21 +212,21 @@
        phy_data |= GG82563_MSCR_TX_CLK_1000MBPS_25MHZ;
        PHY_WRITE(sc, GG82563_PHY_MAC_SPEC_CTRL, phy_data);
 
-       /* set mdi/mid-x options */
+       /* Set mdi/mid-x options */
        PHY_READ(sc, GG82563_PHY_SPEC_CTRL, &phy_data);
        phy_data &= ~GG82563_PSCR_CROSSOVER_MODE_MASK;
        if (IFM_SUBTYPE(ife->ifm_media) == IFM_AUTO)
                phy_data |= GG82563_PSCR_CROSSOVER_MODE_AUTO;
        else
                phy_data |= GG82563_PSCR_CROSSOVER_MODE_MDI;
-       /* set polarity correction */
+       /* Set polarity correction */
        phy_data &= ~GG82563_PSCR_POLARITY_REVERSAL_DISABLE;
        PHY_WRITE(sc, GG82563_PHY_SPEC_CTRL, phy_data);
 
        /* SW Reset the PHY so all changes take effect */
        PHY_RESET(sc);
 
-       /* for the i80003 */
+       /* For the i80003 */
        PHY_READ(sc, GG82563_PHY_SPEC_CTRL_2, &phy_data);
        phy_data &= ~GG82563_PSCR2_REVERSE_AUTO_NEG;
        PHY_WRITE(sc, GG82563_PHY_SPEC_CTRL_2, phy_data);
@@ -260,7 +260,7 @@
        }
        PHY_READ(sc, GG82563_PHY_MAC_SPEC_CTRL, &phy_data);
        phy_data &= ~GG82563_MSCR_TX_CLK_MASK;
-       switch(IFM_SUBTYPE(ife->ifm_media)) {
+       switch (IFM_SUBTYPE(ife->ifm_media)) {
        case IFM_10_T:
                phy_data |= GG82563_MSCR_TX_CLK_10MBPS_2_5MHZ;
                break;



Home | Main Index | Thread Index | Old Index