summaryrefslogtreecommitdiff
path: root/sys/dev/fe
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2012-01-30 22:47:02 +0000
committerWarner Losh <imp@FreeBSD.org>2012-01-30 22:47:02 +0000
commit1b1dd1f89e71630024d9487550fdc893750681c2 (patch)
tree7edc31436ace42ec5c2d66eafab076ca57a46d79 /sys/dev/fe
parent35f8bc5f6495a5342841b7c16b9974d167ad4922 (diff)
Notes
Diffstat (limited to 'sys/dev/fe')
-rw-r--r--sys/dev/fe/if_fe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c
index 9fe1f2c2a09f..7bfca2ab4ff4 100644
--- a/sys/dev/fe/if_fe.c
+++ b/sys/dev/fe/if_fe.c
@@ -2255,6 +2255,7 @@ fe_medchange (struct ifnet *ifp)
static void
fe_medstat (struct ifnet *ifp, struct ifmediareq *ifmr)
{
- (void)ifp;
- (void)ifmr;
+ struct fe_softc *sc = ifp->if_softc;
+
+ ifmr->ifm_active = sc->media.ifm_media;
}