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:
parent
9d2a5442fc
commit
0debd63a71
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61990
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user