summaryrefslogtreecommitdiffstats
path: root/sys/modules/3dfx
diff options
context:
space:
mode:
authorcokane <cokane@FreeBSD.org>2000-06-23 05:54:26 +0000
committercokane <cokane@FreeBSD.org>2000-06-23 05:54:26 +0000
commit4d00d03bd8604c0776f73d5bfdefd0ec8ef65167 (patch)
tree8058eaac8d962ddbc549ac5f6166ce92975f82e7 /sys/modules/3dfx
parentc75f27a705d87ab5a275304d4a54c4f49b380b9c (diff)
downloadFreeBSD-src-4d00d03bd8604c0776f73d5bfdefd0ec8ef65167.zip
FreeBSD-src-4d00d03bd8604c0776f73d5bfdefd0ec8ef65167.tar.gz
Finish up the fixing of the linux ioctl stuff. Add line to remove the dev
entry upon unload. Fix the module makefile.
Diffstat (limited to 'sys/modules/3dfx')
-rw-r--r--sys/modules/3dfx/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/modules/3dfx/Makefile b/sys/modules/3dfx/Makefile
index d03a6e3..eb30bf4 100644
--- a/sys/modules/3dfx/Makefile
+++ b/sys/modules/3dfx/Makefile
@@ -8,7 +8,7 @@ INCSRC = ../../sys
# This line enables linux ioctl handling by default
# comment out if you don't want it
-CFLAGS += -DTDFX_LINUX
+TDFX_OPTS = "\#define TDFX_LINUX"
# Uncomment this for debugging messages
#CFLAGS += -DDEBUG
@@ -17,5 +17,6 @@ pci.h:
opt_tdfx.h:
touch opt_tdfx.h
+ echo $(TDFX_OPTS) >> opt_tdfx.h
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud