Finish up the fixing of the linux ioctl stuff. Add line to remove the dev

entry upon unload.

Fix the module makefile.
This commit is contained in:
Coleman Kane 2000-06-23 05:54:26 +00:00
parent 9d2a5442fc
commit 0debd63a71
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61990
2 changed files with 4 additions and 2 deletions

View File

@ -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>

View File

@ -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>