From 1977eb72c40e7c26bdcacf67530592471db2e200 Mon Sep 17 00:00:00 2001 From: brad Date: Tue, 20 Jan 2015 03:54:26 +0000 Subject: [PATCH] Back out a chunk of rev 1.34 that wasn't supposed to go in with the capitalization corrections. --- sys/dev/mii/rgephy.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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); -- 2.20.1