diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2008-09-10 14:01:24 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2008-09-10 14:01:24 +0000 |
commit | 33d64896abc9e79070ec22125a832e7d8ef87878 (patch) | |
tree | 1f2297f6ceb3127f1cc36b8d9c89baeeceb16922 /sys/dev/pci/if_bge.c | |
parent | 528af50e90df2cf2ebdf638dc4d94752c1861936 (diff) |
Convert timeout_add() calls using multiples of hz to timeout_add_sec()
Really just the low-hanging fruit of (hopefully) forthcoming timeout
conversions.
ok art@, krw@
Diffstat (limited to 'sys/dev/pci/if_bge.c')
-rw-r--r-- | sys/dev/pci/if_bge.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index 3b9959d4b60..1c330c05fe9 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bge.c,v 1.242 2008/09/08 08:10:54 brad Exp $ */ +/* $OpenBSD: if_bge.c,v 1.243 2008/09/10 14:01:22 blambert Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -2709,7 +2709,7 @@ bge_tick(void *xsc) mii_tick(mii); } - timeout_add(&sc->bge_timeout, hz); + timeout_add_sec(&sc->bge_timeout, 1); splx(s); } @@ -3152,7 +3152,7 @@ bge_init(void *xsc) splx(s); - timeout_add(&sc->bge_timeout, hz); + timeout_add_sec(&sc->bge_timeout, 1); } /* |