summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2019-12-13 08:30:26 +0000
committermsaitoh <msaitoh@NetBSD.org>2019-12-13 08:30:26 +0000
commit8732efd3a783a0a590c1306dd71a39fcf65cf34f (patch)
tree86f8cda061109540207385e3d45c37565acd545c /sys/dev
parent7af2979e08c4c3590f883d751215c366035f9823 (diff)
KNF. No functional change.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mii/atphy.c12
-rw-r--r--sys/dev/mii/micphy.c12
2 files changed, 13 insertions, 11 deletions
diff --git a/sys/dev/mii/atphy.c b/sys/dev/mii/atphy.c
index 8952aff9726..0aad52e673a 100644
--- a/sys/dev/mii/atphy.c
+++ b/sys/dev/mii/atphy.c
@@ -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 @@ CFATTACH_DECL_NEW(atphy, sizeof(struct atphy_softc),
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 @@ atphy_attach(device_t parent, device_t self, void *aux)
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 --git a/sys/dev/mii/micphy.c b/sys/dev/mii/micphy.c
index ce98fe66415..15d7327138f 100644
--- a/sys/dev/mii/micphy.c
+++ b/sys/dev/mii/micphy.c
@@ -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 @@ static const struct mii_phydesc micphys[] = {
};
/*
- * Model Rev. Media LSTYPE Devices
+ * Model Rev. Media LSTYPE Devices
*
* 0x11 100 1F_42 KSZ8041
* 0x13 100 1F_42? KSZ8041RNLI
@@ -129,10 +129,10 @@ static const struct mii_phydesc micphys[] = {
* 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 */