summaryrefslogtreecommitdiffstats
path: root/lkm
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-10-28 17:46:58 +0000
committerpeter <peter@FreeBSD.org>1995-10-28 17:46:58 +0000
commit563e4a17a436fd50aa0bba32d08c6aca09b6673b (patch)
treeec9e5ae4d2dc60eb25a0bfd2796095a987a77687 /lkm
parent6bfe6080d612cc9504521f81a3d0e3e68d30c89e (diff)
downloadFreeBSD-src-563e4a17a436fd50aa0bba32d08c6aca09b6673b.zip
FreeBSD-src-563e4a17a436fd50aa0bba32d08c6aca09b6673b.tar.gz
Add extra export symbols for the ATAPI generic interface.
And a couple of minor fiddles in the process..
Diffstat (limited to 'lkm')
-rw-r--r--lkm/atapi/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/lkm/atapi/Makefile b/lkm/atapi/Makefile
index a2fb82d..b1d54ff 100644
--- a/lkm/atapi/Makefile
+++ b/lkm/atapi/Makefile
@@ -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
OpenPOWER on IntegriCloud