summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorcokane <cokane@FreeBSD.org>2000-06-23 04:30:20 +0000
committercokane <cokane@FreeBSD.org>2000-06-23 04:30:20 +0000
commitbb03b85d80276242cb1caf05b521c73ce1503b74 (patch)
tree2af49bd2413645b33b10c7ef6cfa9451cabcd7a5 /sys
parentfe746d0d2e001ec0779ba3f18ce78129276ea356 (diff)
downloadFreeBSD-src-bb03b85d80276242cb1caf05b521c73ce1503b74.zip
FreeBSD-src-bb03b85d80276242cb1caf05b521c73ce1503b74.tar.gz
Fixed trouble with linux emu, not it should work in the module.
Removed unnecessary warning message too.
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 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