Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/mii Remove duplicated PHY_READ() against RGEPHY_MII_...



details:   https://anonhg.NetBSD.org/src/rev/9eaa2c87aad6
branches:  trunk
changeset: 746909:9eaa2c87aad6
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Aug 23 13:41:06 2009 +0000

description:
Remove duplicated PHY_READ() against RGEPHY_MII_BMSR
that FreeBSD said a copy/paste error.

diffstat:

 sys/dev/mii/rgephy.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 456b7d468b93 -r 9eaa2c87aad6 sys/dev/mii/rgephy.c
--- a/sys/dev/mii/rgephy.c      Sun Aug 23 13:36:54 2009 +0000
+++ b/sys/dev/mii/rgephy.c      Sun Aug 23 13:41:06 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rgephy.c,v 1.27 2009/04/28 13:25:17 tsutsui Exp $      */
+/*     $NetBSD: rgephy.c,v 1.28 2009/08/23 13:41:06 tsutsui Exp $      */
 
 /*
  * Copyright (c) 2003
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rgephy.c,v 1.27 2009/04/28 13:25:17 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rgephy.c,v 1.28 2009/08/23 13:41:06 tsutsui Exp $");
 
 
 /*
@@ -367,7 +367,6 @@
        }
 
        bmsr = PHY_READ(sc, RGEPHY_MII_BMSR);
-       bmsr = PHY_READ(sc, RGEPHY_MII_BMSR);
        bmcr = PHY_READ(sc, RGEPHY_MII_BMCR);
 
        if ((bmcr & RGEPHY_BMCR_ISO) != 0) {



Home | Main Index | Thread Index | Old Index