Module Name: src Committed By: msaitoh Date: Fri Dec 13 08:30:26 UTC 2019
Modified Files: src/sys/dev/mii: atphy.c micphy.c Log Message: KNF. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/dev/mii/atphy.c cvs rdiff -u -r1.10 -r1.11 src/sys/dev/mii/micphy.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/mii/atphy.c diff -u src/sys/dev/mii/atphy.c:1.26 src/sys/dev/mii/atphy.c:1.27 --- src/sys/dev/mii/atphy.c:1.26 Wed Nov 27 10:19:20 2019 +++ src/sys/dev/mii/atphy.c Fri Dec 13 08:30:26 2019 @@ -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 a 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 s 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) Index: src/sys/dev/mii/micphy.c diff -u src/sys/dev/mii/micphy.c:1.10 src/sys/dev/mii/micphy.c:1.11 --- src/sys/dev/mii/micphy.c:1.10 Wed Nov 27 10:19:20 2019 +++ src/sys/dev/mii/micphy.c Fri Dec 13 08:30:26 2019 @@ -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 */