diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2008-10-15 19:12:21 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2008-10-15 19:12:21 +0000 |
commit | 447ea046b5b4aba425b2879f683099c1cfa3713f (patch) | |
tree | 8bca5f4e5c63f94a107ad0f4fb69f34c526fe488 /sys/arch/hp300/dev/apci.c | |
parent | b302a033156f300c77b20b1eb011b4ceaccff009 (diff) |
Second pass of simple timeout_add -> timeout_add_sec conversions
This should take care of the simpler ones (i.e., timeout values of
integer multiples of hz).
ok krw@, art@
Diffstat (limited to 'sys/arch/hp300/dev/apci.c')
-rw-r--r-- | sys/arch/hp300/dev/apci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hp300/dev/apci.c b/sys/arch/hp300/dev/apci.c index b470208a919..f15b54817fa 100644 --- a/sys/arch/hp300/dev/apci.c +++ b/sys/arch/hp300/dev/apci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apci.c,v 1.32 2008/06/26 05:42:10 ray Exp $ */ +/* $OpenBSD: apci.c,v 1.33 2008/10/15 19:12:19 blambert Exp $ */ /* $NetBSD: apci.c,v 1.9 2000/11/02 00:35:05 eeh Exp $ */ /*- @@ -373,7 +373,7 @@ apciopen(dev, flag, mode, p) if (error == 0) { /* clear errors, start timeout */ sc->sc_ferr = sc->sc_perr = sc->sc_oflow = sc->sc_toterr = 0; - timeout_add(&sc->sc_timeout, hz); + timeout_add_sec(&sc->sc_timeout, 1); } return (error); @@ -860,7 +860,7 @@ apcitimeout(arg) sc->sc_dev.dv_xname, ferr, perr, oflow, sc->sc_toterr); } - timeout_add(&sc->sc_timeout, hz); + timeout_add_sec(&sc->sc_timeout, 1); } /* |