aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorColeman Kane <cokane@FreeBSD.org>2000-06-23 04:30:20 +0000
committerColeman Kane <cokane@FreeBSD.org>2000-06-23 04:30:20 +0000
commitad2095d0484e852e2ceb5cd5bfcd69b6d3eace5f (patch)
treeb19c006d2e91ad3b6836d44f3168bbecbf039d66 /sys
parentdca95b4671a1d719a56900578f60957e6ba62dbc (diff)
downloadsrc-ad2095d0484e852e2ceb5cd5bfcd69b6d3eace5f.tar.gz
src-ad2095d0484e852e2ceb5cd5bfcd69b6d3eace5f.zip
Fixed trouble with linux emu, not it should work in the module.
Removed unnecessary warning message too.
Notes
Notes: svn path=/head/; revision=61986
Diffstat (limited to 'sys')
-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 d5cfd09da9bd..d03a6e3cd2ca 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 d5cfd09da9bd..d03a6e3cd2ca 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 9b453d6d0b68..000000000000
--- 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