diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-06-08 00:27:13 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-06-08 00:27:13 +0000 |
commit | 57a978f850f3a73f1ae4cfa0d306ad470cec9d47 (patch) | |
tree | 84376e509486737ee9697ae20be95bc9c87f3e7f /sys | |
parent | 369a79fb1f9a438ea0be092f79096a2e5437f963 (diff) |
do not set the mii_ticks field to zero in the asynchronous autonegotiation
function as this is already done in the MII tick handler just before calling
the autonegotiation function.
ok krw@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/mii/eephy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/mii/eephy.c b/sys/dev/mii/eephy.c index 3d6ebf558e8..0ac35669e29 100644 --- a/sys/dev/mii/eephy.c +++ b/sys/dev/mii/eephy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eephy.c,v 1.25 2006/06/01 05:29:09 pascoe Exp $ */ +/* $OpenBSD: eephy.c,v 1.26 2006/06/08 00:27:12 brad Exp $ */ /* * Principal Author: Parag Patel * Copyright (c) 2001 @@ -473,7 +473,6 @@ eephy_mii_phy_auto(struct mii_softc *sc, int waitfor) mii_phy_auto_timeout(sc); } else if ((sc->mii_flags & MIIF_DOINGAUTO) == 0) { sc->mii_flags |= MIIF_DOINGAUTO; - sc->mii_ticks = 0; timeout_set(&sc->mii_phy_timo, mii_phy_auto_timeout, sc); timeout_add(&sc->mii_phy_timo, hz / 2); } |