From 0debd63a71dfabbcf654bc344507971bf4cbaacf Mon Sep 17 00:00:00 2001 From: Coleman Kane Date: Fri, 23 Jun 2000 05:54:26 +0000 Subject: [PATCH] Finish up the fixing of the linux ioctl stuff. Add line to remove the dev entry upon unload. Fix the module makefile. --- sys/modules/3dfx/Makefile | 3 ++- sys/modules/tdfx/Makefile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/modules/3dfx/Makefile b/sys/modules/3dfx/Makefile index d03a6e3cd2c..eb30bf4a162 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 diff --git a/sys/modules/tdfx/Makefile b/sys/modules/tdfx/Makefile index d03a6e3cd2c..eb30bf4a162 100644 --- a/sys/modules/tdfx/Makefile +++ b/sys/modules/tdfx/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