summaryrefslogtreecommitdiff
path: root/sys/dev/isa/fdc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/isa/fdc.c')
-rw-r--r--sys/dev/isa/fdc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/isa/fdc.c b/sys/dev/isa/fdc.c
index d3aa6b4aff1..e78bb96bb99 100644
--- a/sys/dev/isa/fdc.c
+++ b/sys/dev/isa/fdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fdc.c,v 1.13 2000/07/18 01:28:12 deraadt Exp $ */
+/* $OpenBSD: fdc.c,v 1.14 2001/03/06 13:55:02 ho Exp $ */
/* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */
/*-
@@ -61,6 +61,7 @@
#include <sys/mtio.h>
#include <sys/syslog.h>
#include <sys/queue.h>
+#include <sys/timeout.h>
#include <machine/cpu.h>
#include <machine/bus.h>
@@ -183,6 +184,8 @@ fdcattach(parent, self, aux)
#endif
type = -1;
+ timeout_set(&fdc->fdcpseudointr_to, fdcpseudointr, fdc);
+
/* physical limit: four drives per controller. */
for (fa.fa_drive = 0; fa.fa_drive < 4; fa.fa_drive++) {
fa.fa_flags = 0;