summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1998-04-28 05:41:09 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1998-04-28 05:41:09 +0000
commitf6197851a07ff6687e15da2b1118015f844c2072 (patch)
tree8ea0dd2fe859bb90cb9b2b295f3138b20a5db844 /sys
parentfd7dc35ba7534fb089c0764266bf8646e13745c3 (diff)
Make kernel compile if we have IDE controller but no wd drive.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isa/wdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/wdc.c b/sys/dev/isa/wdc.c
index 1c6a346c2b2..18f8bb88363 100644
--- a/sys/dev/isa/wdc.c
+++ b/sys/dev/isa/wdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdc.c,v 1.27 1998/02/22 00:38:40 niklas Exp $ */
+/* $OpenBSD: wdc.c,v 1.28 1998/04/28 05:41:08 angelos Exp $ */
/* $NetBSD: wd.c,v 1.150 1996/05/12 23:54:03 mycroft Exp $ */
/*
@@ -246,9 +246,9 @@ wdcattach(parent, self, aux)
struct isa_attach_args *ia = aux;
#if NWD > 0
int drive;
-#endif /* NWD */
bus_space_tag_t iot = wdc->sc_iot;
bus_space_handle_t ioh = wdc->sc_ioh;
+#endif /* NWD */
TAILQ_INIT(&wdc->sc_xfer);
wdc->sc_drq = ia->ia_drq;