Module Name: src Committed By: msaitoh Date: Thu Oct 18 08:22:37 UTC 2012
Modified Files: src/sys/dev/mii: igphy.c Log Message: Style fix. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/dev/mii/igphy.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/igphy.c diff -u src/sys/dev/mii/igphy.c:1.21 src/sys/dev/mii/igphy.c:1.22 --- src/sys/dev/mii/igphy.c:1.21 Sun Mar 7 07:53:37 2010 +++ src/sys/dev/mii/igphy.c Thu Oct 18 08:22:37 2012 @@ -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 @@ igphy_load_dspcode(struct mii_softc *sc) 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 @@ igphy_smartspeed_workaround(struct mii_s 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: