From f6bd6f4d17e53e59644f785af337781633ef9b2b Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Mon, 20 Oct 2008 00:05:39 +0000 Subject: Enable the Gig master mode status display. --- sys/dev/mii/jmphy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/mii/jmphy.c') 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 * 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 -- cgit v1.2.3