mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-29 04:21:26 +01:00
Add extra export symbols for the ATAPI generic interface.
And a couple of minor fiddles in the process..
This commit is contained in:
parent
6bfe6080d6
commit
563e4a17a4
@ -1,21 +1,25 @@
|
||||
.PATH: ${.CURDIR}/../../sys/i386/isa
|
||||
KMOD = atapi_mod
|
||||
SRCS = atapi.c wdc.h wcd.h
|
||||
SRCS = atapi.c wdc.h #wcd.h
|
||||
NOMAN =
|
||||
BINDIR = /lkm
|
||||
CFLAGS += -nostdinc -I. -I/sys -DATAPI -DATAPI_MODULE
|
||||
CLEANFILES += $(KMOD) machine wdc.h wcd.h *.b
|
||||
LN = ln -f -s
|
||||
EXPORT_SYMS = _atapi_mod _atapi_debug_ptr _atapi_intr_ptr \
|
||||
_atapi_request_callback_ptr _atapi_request_immediate_ptr \
|
||||
_atapi_request_wait_ptr _atapi_start_ptr
|
||||
|
||||
load: ${PROG}
|
||||
/sbin/modload -u -e atapi $(PROG)
|
||||
/sbin/modload -u -e atapi_mod $(PROG)
|
||||
|
||||
unload: ${PROG}
|
||||
/sbin/modunload -n atapi
|
||||
|
||||
wdc.h:
|
||||
echo "#define NWDC 2" > wdc.h
|
||||
echo "#define NWD 4" >> wdc.h
|
||||
|
||||
# echo "#define NWD 4" >> wdc.h
|
||||
|
||||
wcd.h:
|
||||
echo "#define NWCD 1" > wcd.h
|
||||
|
@ -1,21 +1,25 @@
|
||||
.PATH: ${.CURDIR}/../../sys/i386/isa
|
||||
KMOD = atapi_mod
|
||||
SRCS = atapi.c wdc.h wcd.h
|
||||
SRCS = atapi.c wdc.h #wcd.h
|
||||
NOMAN =
|
||||
BINDIR = /lkm
|
||||
CFLAGS += -nostdinc -I. -I/sys -DATAPI -DATAPI_MODULE
|
||||
CLEANFILES += $(KMOD) machine wdc.h wcd.h *.b
|
||||
LN = ln -f -s
|
||||
EXPORT_SYMS = _atapi_mod _atapi_debug_ptr _atapi_intr_ptr \
|
||||
_atapi_request_callback_ptr _atapi_request_immediate_ptr \
|
||||
_atapi_request_wait_ptr _atapi_start_ptr
|
||||
|
||||
load: ${PROG}
|
||||
/sbin/modload -u -e atapi $(PROG)
|
||||
/sbin/modload -u -e atapi_mod $(PROG)
|
||||
|
||||
unload: ${PROG}
|
||||
/sbin/modunload -n atapi
|
||||
|
||||
wdc.h:
|
||||
echo "#define NWDC 2" > wdc.h
|
||||
echo "#define NWD 4" >> wdc.h
|
||||
|
||||
# echo "#define NWD 4" >> wdc.h
|
||||
|
||||
wcd.h:
|
||||
echo "#define NWCD 1" > wcd.h
|
||||
|
Loading…
Reference in New Issue
Block a user