summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/wd.c
diff options
context:
space:
mode:
authorswallace <swallace@FreeBSD.org>1995-09-07 08:20:18 +0000
committerswallace <swallace@FreeBSD.org>1995-09-07 08:20:18 +0000
commit52de8630c27acab149fb866245f05ffa335bbadc (patch)
tree3331b7beea4aa90836ecd3e271bcb7cb655fc4b3 /sys/i386/isa/wd.c
parent498f49567432636092151782bbb999eb99800384 (diff)
downloadFreeBSD-src-52de8630c27acab149fb866245f05ffa335bbadc.zip
FreeBSD-src-52de8630c27acab149fb866245f05ffa335bbadc.tar.gz
Make files get the NWDC definition from "wdc.h" instead of "wd.h".
This way, if using wd and/or wcd devices, the wdc controller code will get compiled.
Diffstat (limited to 'sys/i386/isa/wd.c')
-rw-r--r--sys/i386/isa/wd.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/i386/isa/wd.c b/sys/i386/isa/wd.c
index d2fd68d..66f16e0 100644
--- a/sys/i386/isa/wd.c
+++ b/sys/i386/isa/wd.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
- * $Id: wd.c,v 1.82 1995/08/18 11:26:35 jkh Exp $
+ * $Id: wd.c,v 1.83 1995/09/06 05:06:18 dyson Exp $
*/
/* TODO:
@@ -56,7 +56,12 @@
*/
#include "wd.h"
-#if NWDC > 0
+#ifdef NWDC
+#undef NWDC
+#endif
+
+#include "wdc.h"
+#if NWDC > 0
#include <sys/param.h>
#include <sys/dkbad.h>
OpenPOWER on IntegriCloud