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/a17bb22ff96a
branches:  trunk
changeset: 847159:a17bb22ff96a
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Dec 13 08:30:26 2019 +0000

description:
KNF. No functional change.

diffstat:

 sys/dev/mii/atphy.c  |  12 +++++++-----
 sys/dev/mii/micphy.c |  12 ++++++------
 2 files changed, 13 insertions(+), 11 deletions(-)

diffs (81 lines):

diff -r dd5c400c8dc5 -r a17bb22ff96a sys/dev/mii/atphy.c
--- a/sys/dev/mii/atphy.c       Fri Dec 13 08:11:12 2019 +0000
+++ b/sys/dev/mii/atphy.c       Fri Dec 13 08:30:26 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atphy.c,v 1.26 2019/11/27 10:19:20 msaitoh Exp $ */
+/*     $NetBSD: atphy.c,v 1.27 2019/12/13 08:30:26 msaitoh Exp $ */
 /*     $OpenBSD: atphy.c,v 1.1 2008/09/25 20:47:16 brad Exp $  */
 
 /*-
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atphy.c,v 1.26 2019/11/27 10:19:20 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atphy.c,v 1.27 2019/12/13 08:30:26 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -99,7 +99,7 @@
        atphy_match, atphy_attach, mii_phy_detach, mii_phy_activate);
 
 const struct mii_phy_funcs atphy_funcs = {
-        atphy_service, atphy_status, atphy_reset,
+       atphy_service, atphy_status, atphy_reset,
 };
 
 static const struct mii_phydesc atphys[] = {
@@ -192,8 +192,10 @@
        sc->mii_flags = ma->mii_flags;
        sc->mii_flags |= MIIF_NOLOOP;
 
-       prop_dictionary_get_bool(parent_prop, "tx_internal_delay", &asc->rgmii_tx_internal_delay);
-       prop_dictionary_get_bool(parent_prop, "rx_internal_delay", &asc->rgmii_rx_internal_delay);
+       prop_dictionary_get_bool(parent_prop, "tx_internal_delay",
+           &asc->rgmii_tx_internal_delay);
+       prop_dictionary_get_bool(parent_prop, "rx_internal_delay",
+           &asc->rgmii_rx_internal_delay);
 
        prop_dictionary_get_uint32(prop, "clk_25m", &asc->mii_clk_25m);
        if (asc->mii_clk_25m != 0)
diff -r dd5c400c8dc5 -r a17bb22ff96a sys/dev/mii/micphy.c
--- a/sys/dev/mii/micphy.c      Fri Dec 13 08:11:12 2019 +0000
+++ b/sys/dev/mii/micphy.c      Fri Dec 13 08:30:26 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: micphy.c,v 1.10 2019/11/27 10:19:20 msaitoh Exp $      */
+/*     $NetBSD: micphy.c,v 1.11 2019/12/13 08:30:26 msaitoh Exp $      */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: micphy.c,v 1.10 2019/11/27 10:19:20 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: micphy.c,v 1.11 2019/12/13 08:30:26 msaitoh Exp $");
 
 #include "opt_mii.h"
 
@@ -113,7 +113,7 @@
 };
 
 /*
- * Model Rev. Media  LSTYPE Devices       
+ * Model Rev. Media  LSTYPE Devices
  *
  * 0x11              100    1F_42  KSZ8041
  * 0x13              100    1F_42? KSZ8041RNLI
@@ -129,10 +129,10 @@
  *      0x9  100    none?  KSZ8721CL
  *      0xa  100    1F_42  KSZ8001
  * 0x22              giga   GIGA   KSZ9031
- * 0x23           1? gigasw GIGA   KSZ9477 (No master/slave bit) 
+ * 0x23           1? gigasw GIGA   KSZ9477 (No master/slave bit)
  *        5? giga   GIGA   LAN7430internal
- * 0x24              giga   GIGA   KSZ9131        
- * 0x32              100    1F_42  KS8737         
+ * 0x24              giga   GIGA   KSZ9131
+ * 0x32              100    1F_42  KS8737
  */
 
 /* Type of link status register */



Home | Main Index | Thread Index | Old Index