diff options
author | 2012-10-22 09:14:36 +0000 | |
---|---|---|
committer | 2012-10-22 09:14:36 +0000 | |
commit | 0c01bac2137d8f91f90518bbf3443b79bb4a4aec (patch) | |
tree | d49093c0cddd540081c76633493eb8cf8270757d | |
parent | Add (r)evert prompt to "File changed on disk; really edit the buffer" (diff) | |
download | wireguard-openbsd-0c01bac2137d8f91f90518bbf3443b79bb4a4aec.tar.xz wireguard-openbsd-0c01bac2137d8f91f90518bbf3443b79bb4a4aec.zip |
Provide flow control status.
ok jsg@
-rw-r--r-- | sys/dev/mii/ciphy.c | 4 |
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; |