diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-10-20 00:05:39 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-10-20 00:05:39 +0000 |
commit | f6bd6f4d17e53e59644f785af337781633ef9b2b (patch) | |
tree | 7d104d58c084e18908d8d956466b626d82e79d60 /sys/dev/mii/jmphy.c | |
parent | f0983c6676a35031d36ef887f2e9d6f07e1fc914 (diff) |
Enable the Gig master mode status display.
Diffstat (limited to 'sys/dev/mii/jmphy.c')
-rw-r--r-- | sys/dev/mii/jmphy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/mii/jmphy.c b/sys/dev/mii/jmphy.c index 261106d64bf..5fa4d109fd9 100644 --- a/sys/dev/mii/jmphy.c +++ b/sys/dev/mii/jmphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: jmphy.c,v 1.1 2008/09/26 10:35:15 jsg Exp $ */ +/* $OpenBSD: jmphy.c,v 1.2 2008/10/20 00:05:38 brad Exp $ */ /*- * Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org> * All rights reserved. @@ -257,13 +257,13 @@ jmphy_status(struct mii_softc *sc) mii->mii_media_active |= IFM_FDX; else mii->mii_media_active |= IFM_HDX; + /* XXX Flow-control. */ -#ifdef notyet + if (IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_T) { if ((PHY_READ(sc, MII_100T2SR) & GTSR_MS_RES) != 0) mii->mii_media_active |= IFM_ETH_MASTER; } -#endif } void |