summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_cas.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_cas.c')
-rw-r--r--sys/dev/pci/if_cas.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_cas.c b/sys/dev/pci/if_cas.c
index cc37c7c4f54..7172f60b739 100644
--- a/sys/dev/pci/if_cas.c
+++ b/sys/dev/pci/if_cas.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cas.c,v 1.20 2008/08/30 07:39:12 brad Exp $ */
+/* $OpenBSD: if_cas.c,v 1.21 2008/09/10 14:01:22 blambert Exp $ */
/*
*
@@ -661,7 +661,7 @@ cas_tick(void *arg)
mii_tick(&sc->sc_mii);
splx(s);
- timeout_add(&sc->sc_tick_ch, hz);
+ timeout_add_sec(&sc->sc_tick_ch, 1);
}
int
@@ -1074,7 +1074,7 @@ cas_init(struct ifnet *ifp)
bus_space_write_4(t, h, CAS_RX_KICK2, 4);
/* Start the one second timer. */
- timeout_add(&sc->sc_tick_ch, hz);
+ timeout_add_sec(&sc->sc_tick_ch, 1);
ifp->if_flags |= IFF_RUNNING;
ifp->if_flags &= ~IFF_OACTIVE;