summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/xy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/xy.c')
-rw-r--r--sys/arch/sparc/dev/xy.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/xy.c b/sys/arch/sparc/dev/xy.c
index f39044c9a06..9e58757870c 100644
--- a/sys/arch/sparc/dev/xy.c
+++ b/sys/arch/sparc/dev/xy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xy.c,v 1.14 2000/11/10 15:33:07 provos Exp $ */
+/* $OpenBSD: xy.c,v 1.15 2001/03/24 10:07:21 ho Exp $ */
/* $NetBSD: xy.c,v 1.26 1997/07/19 21:43:56 pk Exp $ */
/*
@@ -74,6 +74,7 @@
#include <sys/syslog.h>
#include <sys/dkbad.h>
#include <sys/conf.h>
+#include <sys/timeout.h>
#include <vm/vm.h>
#include <vm/vm_kern.h>
@@ -452,7 +453,8 @@ xycattach(parent, self, aux)
bootpath_store(1, NULL);
/* start the watchdog clock */
- timeout(xyc_tick, xyc, XYC_TICKCNT);
+ timeout_set(&xyc->xyc_tick_tmo, xyc_tick, xyc);
+ timeout_add(&xyc->xyc_tick_tmo, XYC_TICKCNT);
}
@@ -1971,7 +1973,7 @@ xyc_tick(arg)
/* until next time */
- timeout(xyc_tick, xycsc, XYC_TICKCNT);
+ timeout_add(&xycsc->xyc_tick_tmo, XYC_TICKCNT);
}
/*