mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 17:32:43 +00:00
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:
parent
ad1472b217
commit
6edd39c483
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10601
@ -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 */
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user