From: brad Date: Tue, 20 Jan 2015 03:54:26 +0000 (+0000) Subject: Back out a chunk of rev 1.34 that wasn't supposed to go in with the X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1977eb72c40e7c26bdcacf67530592471db2e200;p=openbsd Back out a chunk of rev 1.34 that wasn't supposed to go in with the capitalization corrections. --- diff --git a/sys/dev/mii/rgephy.c b/sys/dev/mii/rgephy.c index 44ea310554c..f5d6b7e6628 100644 --- a/sys/dev/mii/rgephy.c +++ b/sys/dev/mii/rgephy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rgephy.c,v 1.35 2015/01/20 03:26:24 brad Exp $ */ +/* $OpenBSD: rgephy.c,v 1.36 2015/01/20 03:54:26 brad Exp $ */ /* * Copyright (c) 2003 * Bill Paul . All rights reserved. @@ -481,16 +481,6 @@ rgephy_reset(struct mii_softc *sc) { uint16_t reg; - if (sc->mii_model == MII_MODEL_xxREALTEK_RTL8251) { - PHY_WRITE(sc, 31, 0x0a43); - reg = PHY_READ(sc, RGEPHY_CR); - if ((reg & RGEPHY_CR_ALDPS) != 0) { - reg &= ~RGEPHY_CR_ALDPS; - PHY_WRITE(sc, RGEPHY_CR, reg); - } - PHY_WRITE(sc, 31, 0x0000); - } - mii_phy_reset(sc); DELAY(1000); rgephy_load_dspcode(sc);