summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-04-13 20:08:13 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-04-13 20:08:13 +0000
commit4e16e7aeafacd99a3ad602ed6f92986d3c4f6f09 (patch)
tree9ca6d1c30002bc76f87881fa913ce900c546d0fc /sys/arch/hp300
parent7585d2c1a958f1659507c55a2df6106dfe35ef3d (diff)
Fix timeout initialization bug introduced in rev 1.8.
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/dev/ppi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/hp300/dev/ppi.c b/sys/arch/hp300/dev/ppi.c
index 60b42b0770d..3f8de58fbdd 100644
--- a/sys/arch/hp300/dev/ppi.c
+++ b/sys/arch/hp300/dev/ppi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ppi.c,v 1.15 2006/01/19 23:54:41 miod Exp $ */
+/* $OpenBSD: ppi.c,v 1.16 2006/04/13 20:08:12 miod Exp $ */
/* $NetBSD: ppi.c,v 1.13 1997/04/02 22:37:33 scottr Exp $ */
/*
@@ -92,7 +92,6 @@ int ppirw(dev_t, struct uio *);
int ppihztoms(int);
int ppimstohz(int);
-bdev_decl(ppi);
cdev_decl(ppi);
#define UNIT(x) minor(x)
@@ -154,7 +153,7 @@ ppiattach(parent, self, aux)
/* Initialize timeout structures */
timeout_set(&sc->sc_to, ppitimo, sc);
- timeout_set(&sc->sc_to, ppistart, sc);
+ timeout_set(&sc->sc_start_to, ppistart, sc);
}
void