diff options
author | swallace <swallace@FreeBSD.org> | 1995-09-07 08:20:18 +0000 |
---|---|---|
committer | swallace <swallace@FreeBSD.org> | 1995-09-07 08:20:18 +0000 |
commit | 52de8630c27acab149fb866245f05ffa335bbadc (patch) | |
tree | 3331b7beea4aa90836ecd3e271bcb7cb655fc4b3 /sys/i386/isa/wd.c | |
parent | 498f49567432636092151782bbb999eb99800384 (diff) | |
download | FreeBSD-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.c | 9 |
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> |