diff options
Diffstat (limited to 'sys/dev/mii')
-rw-r--r-- | sys/dev/mii/nsphy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/mii/nsphy.c b/sys/dev/mii/nsphy.c index 37f3e9c..f0c1336 100644 --- a/sys/dev/mii/nsphy.c +++ b/sys/dev/mii/nsphy.c @@ -276,7 +276,9 @@ nsphy_service(sc, mii, cmd) */ reg |= 0x0100 | 0x0400; - PHY_WRITE(sc, MII_NSPHY_PCR, reg); + if (strcmp(device_get_name(device_get_parent(sc->mii_dev)), + "fxp") == 0) + PHY_WRITE(sc, MII_NSPHY_PCR, reg); switch (IFM_SUBTYPE(ife->ifm_media)) { case IFM_AUTO: |