diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2009-07-31 11:38:27 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2009-07-31 11:38:27 +0000 |
commit | 8e9a0242e6919d40bcebd3669e69a3866aaa9558 (patch) | |
tree | 166c2bbbc7b4b2f928409f40279bf5b982eb4fb3 /sys/dev | |
parent | 3296f2622cee4d966a35fe2d5738bbb471c0cfda (diff) |
timeout_add -> timeout_add_msec
ok art@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/mii/mii_physubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/mii_physubr.c b/sys/dev/mii/mii_physubr.c index d485dcd7880..536fd27d467 100644 --- a/sys/dev/mii/mii_physubr.c +++ b/sys/dev/mii/mii_physubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mii_physubr.c,v 1.36 2009/07/22 23:51:43 sthen Exp $ */ +/* $OpenBSD: mii_physubr.c,v 1.37 2009/07/31 11:38:26 blambert Exp $ */ /* $NetBSD: mii_physubr.c,v 1.20 2001/04/13 23:30:09 thorpej Exp $ */ /*- @@ -204,7 +204,7 @@ mii_phy_auto(struct mii_softc *sc, int waitfor) } else if ((sc->mii_flags & MIIF_DOINGAUTO) == 0) { sc->mii_flags |= MIIF_DOINGAUTO; timeout_set(&sc->mii_phy_timo, mii_phy_auto_timeout, sc); - timeout_add(&sc->mii_phy_timo, hz / 2); + timeout_add_msec(&sc->mii_phy_timo, 500); } return (EJUSTRETURN); } |