mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-18 05:53:36 +01:00
Bannish ATAPI and ATAPI_STATIC #defines to opt_atapi.h.
This commit is contained in:
parent
9d616cb5db
commit
c52fcce8a5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18086
@ -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 $<
|
||||
|
@ -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 $<
|
||||
|
@ -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 */
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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 $<
|
||||
|
@ -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 $<
|
||||
|
Loading…
Reference in New Issue
Block a user