Bannish ATAPI and ATAPI_STATIC #defines to opt_atapi.h.

This commit is contained in:
Paul Traina 1996-09-06 23:32:55 +00:00
parent 9d616cb5db
commit c52fcce8a5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18086
7 changed files with 35 additions and 17 deletions

View File

@ -1,12 +1,12 @@
# $Id: Makefile,v 1.3 1996/05/07 23:19:28 wosch Exp $
# $Id: Makefile,v 1.4 1996/06/23 14:58:08 bde Exp $
.PATH: ${.CURDIR}/../../sys/i386/isa
KMOD = atapi_mod
SRCS = atapi.c wdc.h #wcd.h
SRCS = atapi.c wdc.h opt_atapi.h #wcd.h
NOMAN =
BINDIR = /lkm
CFLAGS += -nostdinc -I. -DATAPI -DATAPI_MODULE
CLEANFILES += $(KMOD) machine wdc.h wcd.h *.b
CFLAGS += -nostdinc -I. -DATAPI_MODULE
CLEANFILES += $(KMOD) machine wdc.h wcd.h opt_atapi.h *.b
LN = ln -f -s
EXPORT_SYMS = _atapi_mod _atapi_debug_ptr _atapi_intr_ptr \
_atapi_request_callback_ptr _atapi_request_immediate_ptr \
@ -26,6 +26,9 @@ wdc.h:
wcd.h:
echo "#define NWCD 1" > wcd.h
opt_atapi.h:
echo "#define ATAPI 1"> opt_atapi.h
.c.o:
-@$(LN) /sys/i386/include machine
$(CC) $(CFLAGS) -c $<

View File

@ -1,12 +1,12 @@
# $Id: Makefile,v 1.2 1996/05/07 23:19:42 wosch Exp $
# $Id: Makefile,v 1.3 1996/06/23 14:58:14 bde Exp $
.PATH: ${.CURDIR}/../../sys/i386/isa
KMOD = wcd_mod
SRCS = wcd.c wdc.h wcd.h
SRCS = wcd.c wdc.h wcd.h opt_atapi.h
NOMAN =
BINDIR = /lkm
CFLAGS += -nostdinc -I. -DATAPI -DWCD_MODULE
CLEANFILES += $(KMOD) machine wdc.h wcd.h *.b
CFLAGS += -nostdinc -I. -DWCD_MODULE
CLEANFILES += $(KMOD) machine wdc.h wcd.h opt_atapi.h *.b
LN = ln -f -s
load: ${PROG}
@ -22,6 +22,9 @@ wdc.h:
wcd.h:
echo "#define NWCD 1" > wcd.h
opt_atapi.h:
echo "#define ATAPI 1"> opt_atapi.h
.c.o:
-@$(LN) /sys/i386/include machine
$(CC) $(CFLAGS) -c $<

View File

@ -100,6 +100,8 @@
#undef DEBUG
#include "wdc.h"
#include "opt_atapi.h"
#ifndef ATAPI_MODULE
# include "wcd.h"
/* # include "wmt.h" -- add your driver here */

View File

@ -17,6 +17,8 @@
#include "wdc.h"
#include "wcd.h"
#include "opt_atapi.h"
#if NWCD > 0 && NWDC > 0 && defined (ATAPI)
#include <sys/param.h>

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
* $Id: wd.c,v 1.115 1996/08/23 02:52:44 dyson Exp $
* $Id: wd.c,v 1.116 1996/09/06 23:08:13 phk Exp $
*/
/* TODO:
@ -61,6 +61,8 @@
#endif
#include "wdc.h"
#include "opt_atapi.h"
#if NWDC > 0
#include <sys/param.h>

View File

@ -1,12 +1,12 @@
# $Id: Makefile,v 1.3 1996/05/07 23:19:28 wosch Exp $
# $Id: Makefile,v 1.4 1996/06/23 14:58:08 bde Exp $
.PATH: ${.CURDIR}/../../sys/i386/isa
KMOD = atapi_mod
SRCS = atapi.c wdc.h #wcd.h
SRCS = atapi.c wdc.h opt_atapi.h #wcd.h
NOMAN =
BINDIR = /lkm
CFLAGS += -nostdinc -I. -DATAPI -DATAPI_MODULE
CLEANFILES += $(KMOD) machine wdc.h wcd.h *.b
CFLAGS += -nostdinc -I. -DATAPI_MODULE
CLEANFILES += $(KMOD) machine wdc.h wcd.h opt_atapi.h *.b
LN = ln -f -s
EXPORT_SYMS = _atapi_mod _atapi_debug_ptr _atapi_intr_ptr \
_atapi_request_callback_ptr _atapi_request_immediate_ptr \
@ -26,6 +26,9 @@ wdc.h:
wcd.h:
echo "#define NWCD 1" > wcd.h
opt_atapi.h:
echo "#define ATAPI 1"> opt_atapi.h
.c.o:
-@$(LN) /sys/i386/include machine
$(CC) $(CFLAGS) -c $<

View File

@ -1,12 +1,12 @@
# $Id: Makefile,v 1.2 1996/05/07 23:19:42 wosch Exp $
# $Id: Makefile,v 1.3 1996/06/23 14:58:14 bde Exp $
.PATH: ${.CURDIR}/../../sys/i386/isa
KMOD = wcd_mod
SRCS = wcd.c wdc.h wcd.h
SRCS = wcd.c wdc.h wcd.h opt_atapi.h
NOMAN =
BINDIR = /lkm
CFLAGS += -nostdinc -I. -DATAPI -DWCD_MODULE
CLEANFILES += $(KMOD) machine wdc.h wcd.h *.b
CFLAGS += -nostdinc -I. -DWCD_MODULE
CLEANFILES += $(KMOD) machine wdc.h wcd.h opt_atapi.h *.b
LN = ln -f -s
load: ${PROG}
@ -22,6 +22,9 @@ wdc.h:
wcd.h:
echo "#define NWCD 1" > wcd.h
opt_atapi.h:
echo "#define ATAPI 1"> opt_atapi.h
.c.o:
-@$(LN) /sys/i386/include machine
$(CC) $(CFLAGS) -c $<