Make CPMU handle GPHY power down control on controllers that have

CPMU capability.
This commit is contained in:
Pyun YongHyeon 2011-10-26 18:05:46 +00:00
parent 3d09c7b327
commit 5512ca01af

View File

@ -3446,7 +3446,8 @@ bge_reset(struct bge_softc *sc)
* Set GPHY Power Down Override to leave GPHY
* powered up in D0 uninitialized.
*/
if (BGE_IS_5705_PLUS(sc))
if (BGE_IS_5705_PLUS(sc) &&
(sc->bge_flags & BGE_FLAG_CPMU_PRESENT) == 0)
reset |= BGE_MISCCFG_GPHY_PD_OVERRIDE;
/* Issue global reset */