diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-05-11 03:55:00 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-05-11 03:55:00 +0000 |
commit | bc6c52a903c8eb408143a3bcbfcbf5bf71ed385f (patch) | |
tree | 8980910af58e072783325855575006bdab9a2b7d | |
parent | e0ecd0ae3e4c8a25a6431534747b344af3c1fa46 (diff) |
Do not call mii_pollstat() immediately after mii_tick().
From FreeBSD
-rw-r--r-- | sys/dev/pci/if_lge.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c index 4004ce9f287..0272f5e171a 100644 --- a/sys/dev/pci/if_lge.c +++ b/sys/dev/pci/if_lge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_lge.c,v 1.18 2005/04/25 17:55:51 brad Exp $ */ +/* $OpenBSD: if_lge.c,v 1.19 2005/05/11 03:54:59 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 @@ -1107,7 +1107,6 @@ void lge_tick(xsc) if (!sc->lge_link) { mii_tick(mii); - mii_pollstat(mii); if (mii->mii_media_status & IFM_ACTIVE && IFM_SUBTYPE(mii->mii_media_active) != IFM_NONE) { sc->lge_link++; |