Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/mii Style fix. No functional change.
details: https://anonhg.NetBSD.org/src/rev/5d776d3a3f5c
branches: trunk
changeset: 782142:5d776d3a3f5c
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Thu Oct 18 08:22:37 2012 +0000
description:
Style fix. No functional change.
diffstat:
sys/dev/mii/igphy.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r dc367a7f920d -r 5d776d3a3f5c sys/dev/mii/igphy.c
--- a/sys/dev/mii/igphy.c Thu Oct 18 02:36:37 2012 +0000
+++ b/sys/dev/mii/igphy.c Thu Oct 18 08:22:37 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: igphy.c,v 1.21 2010/03/07 07:53:37 msaitoh Exp $ */
+/* $NetBSD: igphy.c,v 1.22 2012/10/18 08:22:37 msaitoh Exp $ */
/*
* The Intel copyright applies to the analog register setup, and the
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: igphy.c,v 1.21 2010/03/07 07:53:37 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: igphy.c,v 1.22 2012/10/18 08:22:37 msaitoh Exp $");
#include "opt_mii.h"
@@ -278,7 +278,7 @@
for (i = 0; !((code[i].reg == 0) && (code[i].val == 0)); i++)
IGPHY_WRITE(sc, code[i].reg, code[i].val);
- PHY_WRITE(sc, MII_IGPHY_PAGE_SELECT,0x0000);
+ PHY_WRITE(sc, MII_IGPHY_PAGE_SELECT, 0x0000);
PHY_WRITE(sc, 0x0000, 0x3300);
delay(20000);
@@ -492,7 +492,6 @@
struct igphy_softc *igsc = (struct igphy_softc *) sc;
uint16_t reg, gtsr, gtcr;
-
/* This workaround is only for 82541 and 82547 */
switch (igsc->sc_mactype) {
case WM_T_82541:
Home |
Main Index |
Thread Index |
Old Index