summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/mii/gentbi.c4
-rw-r--r--sys/dev/mii/nsgphy.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/mii/gentbi.c b/sys/dev/mii/gentbi.c
index 99d171c1a78..7ed88ea4928 100644
--- a/sys/dev/mii/gentbi.c
+++ b/sys/dev/mii/gentbi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gentbi.c,v 1.6 2008/06/26 05:42:16 ray Exp $ */
+/* $OpenBSD: gentbi.c,v 1.7 2008/10/24 17:11:37 brad Exp $ */
/* $NetBSD: gentbi.c,v 1.12 2004/04/11 15:40:56 thorpej Exp $ */
/*-
@@ -271,7 +271,7 @@ gentbi_status(struct mii_softc *sc)
if ((sc->mii_extcapabilities & EXTSR_1000XFDX) != 0 &&
(anlpar & ANLPAR_X_FD) != 0)
mii->mii_media_active |=
- IFM_FDX;
+ mii_phy_flowstatus(sc) | IFM_FDX;
} else
mii->mii_media_active = ife->ifm_media;
}
diff --git a/sys/dev/mii/nsgphy.c b/sys/dev/mii/nsgphy.c
index 1d8214e09ff..758138e6a92 100644
--- a/sys/dev/mii/nsgphy.c
+++ b/sys/dev/mii/nsgphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nsgphy.c,v 1.20 2008/05/30 05:08:29 brad Exp $ */
+/* $OpenBSD: nsgphy.c,v 1.21 2008/10/24 17:11:37 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 2001
@@ -268,7 +268,7 @@ nsgphy_status(struct mii_softc *sc)
}
if (physup & PHY_SUP_DUPLEX)
- mii->mii_media_active |= IFM_FDX;
+ mii->mii_media_active |= mii_phy_flowstatus(sc) | IFM_FDX;
else
mii->mii_media_active |= IFM_HDX;
} else