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.
This commit is contained in:
Steven Wallace 1995-09-07 08:20:18 +00:00
parent ad1472b217
commit 6edd39c483
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10601
3 changed files with 9 additions and 4 deletions

View File

@ -99,7 +99,7 @@
*/
#undef DEBUG
#include "wd.h"
#include "wdc.h"
#include "wcd.h"
/* #include "whd.h" -- add your driver here */
/* #include "wmt.h" -- add your driver here */

View File

@ -18,7 +18,7 @@
/*
* The driver was tested on Toshiba XM-5302TA drive. (vak)
*/
#include "wd.h"
#include "wdc.h"
#include "wcd.h"
#if NWCD > 0 && NWDC > 0 && defined (ATAPI)

View File

@ -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>