From ad2095d0484e852e2ceb5cd5bfcd69b6d3eace5f Mon Sep 17 00:00:00 2001 From: Coleman Kane Date: Fri, 23 Jun 2000 04:30:20 +0000 Subject: Fixed trouble with linux emu, not it should work in the module. Removed unnecessary warning message too. --- sys/modules/3dfx/Makefile | 3 +++ sys/modules/tdfx/Makefile | 3 +++ sys/modules/tdfx/README.linuxemu | 10 ---------- 3 files changed, 6 insertions(+), 10 deletions(-) delete mode 100644 sys/modules/tdfx/README.linuxemu (limited to 'sys/modules') 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 -- cgit v1.3