diff options
author | Luiz Souza <luiz@netgate.com> | 2017-12-22 11:06:29 -0600 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2017-12-22 11:13:48 -0600 |
commit | 2324c33e165ae4ac61b4d7cdc5acefaaa53da871 (patch) | |
tree | 355c639200452c208a32027e5fe05d998a539129 | |
parent | a5b33c9d1c41e0e7ea4b9eb5b97ec0decacbbdab (diff) | |
download | FreeBSD-src-2324c33e165ae4ac61b4d7cdc5acefaaa53da871.zip FreeBSD-src-2324c33e165ae4ac61b4d7cdc5acefaaa53da871.tar.gz |
Enable the automatic MDI/MDI-X setup for the Marvell integrated PHY models.
(cherry picked from commit 6587859bafe535c201f1aee6ea9d54e2a49b37fc)
-rw-r--r-- | sys/dev/mii/e1000phy.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/mii/e1000phy.c b/sys/dev/mii/e1000phy.c index d97c7d5..075368c 100644 --- a/sys/dev/mii/e1000phy.c +++ b/sys/dev/mii/e1000phy.c @@ -209,6 +209,9 @@ e1000phy_reset(struct mii_softc *sc) } } else { switch (sc->mii_mpd_model) { + case MII_MODEL_xxMARVELL_E1000: + reg |= E1000_SCR_AUTO_X_MODE; + break; case MII_MODEL_xxMARVELL_E1111: case MII_MODEL_xxMARVELL_E1112: case MII_MODEL_xxMARVELL_E1116: |