summaryrefslogtreecommitdiff
path: root/sys/dev/mii
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2012-10-22 09:14:37 +0000
committerBrad Smith <brad@cvs.openbsd.org>2012-10-22 09:14:37 +0000
commit1857a61ce8732dba23b613865066ef03c96570f9 (patch)
tree05244d225ba3c624d24be0aad3e0dc616b1b5bf5 /sys/dev/mii
parent894d1e27e363f283d4f4345d495c69662628068a (diff)
Provide flow control status.
ok jsg@
Diffstat (limited to 'sys/dev/mii')
-rw-r--r--sys/dev/mii/ciphy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/ciphy.c b/sys/dev/mii/ciphy.c
index 430e62c0728..a6b2d9336d7 100644
--- a/sys/dev/mii/ciphy.c
+++ b/sys/dev/mii/ciphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ciphy.c,v 1.22 2009/07/30 09:24:26 sthen Exp $ */
+/* $OpenBSD: ciphy.c,v 1.23 2012/10/22 09:14:36 brad Exp $ */
/* $FreeBSD: ciphy.c,v 1.1 2004/09/10 20:57:45 wpaul Exp $ */
/*
* Copyright (c) 2004
@@ -293,7 +293,7 @@ ciphy_status(struct mii_softc *sc)
}
if (bmsr & CIPHY_AUXCSR_FDX)
- mii->mii_media_active |= IFM_FDX;
+ mii->mii_media_active |= IFM_FDX | mii_phy_flowstatus(sc);
else
mii->mii_media_active |= IFM_HDX;