diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-08-19 15:07:35 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-08-19 15:07:35 +0000 |
commit | 68af87218387ffa40a86125da9459ac9956907ea (patch) | |
tree | 0f31dc4932428f6c7fdeecf086255e2f88976521 /sys/dev/mii/brgphy.c | |
parent | d74034f18f5e708e8409b442dd4d742d502dbe4f (diff) |
More old timeouts removal, mainly affected unused/unmaintained code.
Diffstat (limited to 'sys/dev/mii/brgphy.c')
-rw-r--r-- | sys/dev/mii/brgphy.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c index 3d9838ad666..af7ffc56ce6 100644 --- a/sys/dev/mii/brgphy.c +++ b/sys/dev/mii/brgphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: brgphy.c,v 1.4 2001/04/12 04:51:27 deraadt Exp $ */ +/* $OpenBSD: brgphy.c,v 1.5 2001/08/19 15:07:34 miod Exp $ */ /* * Copyright (c) 2000 @@ -385,7 +385,8 @@ brgphy_mii_phy_auto(mii, waitfor) */ if ((mii->mii_flags & MIIF_DOINGAUTO) == 0) { mii->mii_flags |= MIIF_DOINGAUTO; - timeout(mii_phy_auto_timeout, mii, hz >> 1); + timeout_set(&mii->mii_phy_timo, mii_phy_auto_timeout, mii); + timeout_add(&mii->mii_phy_timo, hz >> 1); } return (EJUSTRETURN); } |