summaryrefslogtreecommitdiff
path: root/sys/dev/isa/wdc.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-02-22 00:38:41 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-02-22 00:38:41 +0000
commite0362742d8eaeafc7168351b2e6e27e2bca5c07d (patch)
tree1fdea2e8d766910de7344454003a713c1fb7f6ea /sys/dev/isa/wdc.c
parent4a7c9de66943ce7311964d5ff9b10b3a763616d7 (diff)
only get isadma stuff when we want them
Diffstat (limited to 'sys/dev/isa/wdc.c')
-rw-r--r--sys/dev/isa/wdc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/isa/wdc.c b/sys/dev/isa/wdc.c
index e511bf20f33..1c6a346c2b2 100644
--- a/sys/dev/isa/wdc.c
+++ b/sys/dev/isa/wdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdc.c,v 1.26 1998/01/18 18:48:40 niklas Exp $ */
+/* $OpenBSD: wdc.c,v 1.27 1998/02/22 00:38:40 niklas Exp $ */
/* $NetBSD: wd.c,v 1.150 1996/05/12 23:54:03 mycroft Exp $ */
/*
@@ -62,7 +62,9 @@
#include <machine/intr.h>
#include <dev/isa/isavar.h>
+#if NISADMA > 0
#include <dev/isa/isadmavar.h>
+#endif /* NISADMA > 0 */
#include <dev/isa/wdreg.h>
#include <dev/isa/wdlink.h>