summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/modules/3dfx/Makefile3
-rw-r--r--sys/modules/tdfx/Makefile3
-rw-r--r--sys/modules/tdfx/README.linuxemu10
3 files changed, 6 insertions, 10 deletions
diff --git a/sys/modules/3dfx/Makefile b/sys/modules/3dfx/Makefile
index d5cfd09..d03a6e3 100644
--- a/sys/modules/3dfx/Makefile
+++ b/sys/modules/3dfx/Makefile
@@ -6,6 +6,9 @@ SRCS = opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
tdfx_vars.h tdfx_pci.c
INCSRC = ../../sys
+# This line enables linux ioctl handling by default
+# comment out if you don't want it
+CFLAGS += -DTDFX_LINUX
# Uncomment this for debugging messages
#CFLAGS += -DDEBUG
diff --git a/sys/modules/tdfx/Makefile b/sys/modules/tdfx/Makefile
index d5cfd09..d03a6e3 100644
--- a/sys/modules/tdfx/Makefile
+++ b/sys/modules/tdfx/Makefile
@@ -6,6 +6,9 @@ SRCS = opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
tdfx_vars.h tdfx_pci.c
INCSRC = ../../sys
+# This line enables linux ioctl handling by default
+# comment out if you don't want it
+CFLAGS += -DTDFX_LINUX
# Uncomment this for debugging messages
#CFLAGS += -DDEBUG
diff --git a/sys/modules/tdfx/README.linuxemu b/sys/modules/tdfx/README.linuxemu
deleted file mode 100644
index 9b453d6..0000000
--- a/sys/modules/tdfx/README.linuxemu
+++ /dev/null
@@ -1,10 +0,0 @@
-$FreeBSD$
-NOTIC TO USERS OF LINUX EMULATION CODE
-
-Due to some strange workings with the linuxulator, as of 21 Jun 200, this
-module won't load support for linux emulation, making it rather pointless,
-as there are no non-linux glide progs for freebsd yet. You can, however,
-compile both of them statically into the kernel using:
-device tdfx
-options COMPAT_LINUX
-options TDFX_LINUX
OpenPOWER on IntegriCloud