diff options
author | yongari <yongari@FreeBSD.org> | 2012-10-11 06:07:48 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2012-10-11 06:07:48 +0000 |
commit | 9fe7d51dd3b02e7b852b211a66889b23a0de8b97 (patch) | |
tree | b0c8125a327a313a4c0f62d5b5dde8087b36e10d | |
parent | a96edbf7e8726528efdee62013607365b66ca10a (diff) | |
download | FreeBSD-src-9fe7d51dd3b02e7b852b211a66889b23a0de8b97.zip FreeBSD-src-9fe7d51dd3b02e7b852b211a66889b23a0de8b97.tar.gz |
For 5717C/5719C/5720C and 57765 PHYs, do not perform any special
handling(jumbo, wire speed etc) in brgphy_reset(). Touching
BRGPHY_MII_AUXCTL register seems to confuse APE firmware such that
it couldn't establish a link.
-rw-r--r-- | sys/dev/mii/brgphy.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index 57646e5..3dd20ff 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -918,6 +918,15 @@ brgphy_reset(struct mii_softc *sc) break; } break; + case MII_OUI_BROADCOM3: + switch (sc->mii_mpd_model) { + case MII_MODEL_BROADCOM3_BCM5717C: + case MII_MODEL_BROADCOM3_BCM5719C: + case MII_MODEL_BROADCOM3_BCM5720C: + case MII_MODEL_BROADCOM3_BCM57765: + return; + } + break; } ifp = sc->mii_pdata->mii_ifp; |