diff options
-rw-r--r-- | sys/dev/mii/brgphy.c | 4 | ||||
-rw-r--r-- | sys/dev/mii/nsphy.c | 4 | ||||
-rw-r--r-- | sys/dev/mii/qsphy.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index 8b2c180cfb9..7283de7f4b2 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: brgphy.c,v 1.74 2008/02/28 01:34:37 brad Exp $ */ +/* $OpenBSD: brgphy.c,v 1.75 2008/03/02 16:05:26 brad Exp $ */ /* * Copyright (c) 2000 @@ -375,7 +375,7 @@ brgphy_status(struct mii_softc *sc) mii->mii_media_active |= IFM_100_TX | IFM_FDX; break; case BRGPHY_RES_100T4: - mii->mii_media_active |= IFM_100_T4; + mii->mii_media_active |= IFM_100_T4 | IFM_HDX; break; case BRGPHY_RES_100HD: mii->mii_media_active |= IFM_100_TX | IFM_HDX; diff --git a/sys/dev/mii/nsphy.c b/sys/dev/mii/nsphy.c index 6500a9b17d5..7d0825e66f8 100644 --- a/sys/dev/mii/nsphy.c +++ b/sys/dev/mii/nsphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nsphy.c,v 1.20 2006/12/27 19:11:09 kettenis Exp $ */ +/* $OpenBSD: nsphy.c,v 1.21 2008/03/02 16:05:26 brad Exp $ */ /* $NetBSD: nsphy.c,v 1.25 2000/02/02 23:34:57 thorpej Exp $ */ /*- @@ -290,7 +290,7 @@ nsphy_status(struct mii_softc *sc) anlpar = PHY_READ(sc, MII_ANAR) & PHY_READ(sc, MII_ANLPAR); if (anlpar & ANLPAR_T4) - mii->mii_media_active |= IFM_100_T4; + mii->mii_media_active |= IFM_100_T4|IFM_HDX; else if (anlpar & ANLPAR_TX_FD) mii->mii_media_active |= IFM_100_TX|IFM_FDX; else if (anlpar & ANLPAR_TX) diff --git a/sys/dev/mii/qsphy.c b/sys/dev/mii/qsphy.c index ddacc2d38c7..a7820724ab9 100644 --- a/sys/dev/mii/qsphy.c +++ b/sys/dev/mii/qsphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qsphy.c,v 1.14 2006/12/27 19:11:09 kettenis Exp $ */ +/* $OpenBSD: qsphy.c,v 1.15 2008/03/02 16:05:26 brad Exp $ */ /* $NetBSD: qsphy.c,v 1.19 2000/02/02 23:34:57 thorpej Exp $ */ /*- @@ -260,7 +260,7 @@ qsphy_status(struct mii_softc *sc) mii->mii_media_active |= IFM_100_TX|IFM_FDX; break; case PCTL_100_T4: - mii->mii_media_active |= IFM_100_T4; + mii->mii_media_active |= IFM_100_T4|IFM_HDX; break; default: /* Erg... this shouldn't happen. */ |