diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2010-06-30 19:46:31 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2010-06-30 19:46:31 +0000 |
commit | 396f70ce0db276ab8287db4c67d36ba435c2b247 (patch) | |
tree | 09a92b7c3564461171b1e8efec4609ed308c16b4 /sys/dev | |
parent | 1451257c268e8736ff5389ec5cc9500fa9feb904 (diff) |
timeout_add -> timeout_add_msec
"I agree that hz / 10 is 1/10 of a second, which is 100 milliseconds" krw@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/pccbb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/pccbb.c b/sys/dev/pci/pccbb.c index b9ec92b009e..51517a241a6 100644 --- a/sys/dev/pci/pccbb.c +++ b/sys/dev/pci/pccbb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pccbb.c,v 1.75 2010/04/08 00:23:53 tedu Exp $ */ +/* $OpenBSD: pccbb.c,v 1.76 2010/06/30 19:46:30 blambert Exp $ */ /* $NetBSD: pccbb.c,v 1.96 2004/03/28 09:49:31 nakayama Exp $ */ /* @@ -933,7 +933,7 @@ pccbbintr(void *arg) * insertion/removal during suspension. */ (sc->sc_flags & CBB_CARDEXIST) == 0) { - timeout_add(&sc->sc_ins_tmo, hz / 10); + timeout_add_msec(&sc->sc_ins_tmo, 100); sc->sc_flags |= CBB_INSERTING; } return (1); @@ -1035,7 +1035,7 @@ pci113x_insert(void *arg) /* who are you? */ } } else { - timeout_add(&sc->sc_ins_tmo, hz / 10); + timeout_add_msec(&sc->sc_ins_tmo, 100); } } |