aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorColeman Kane <cokane@FreeBSD.org>2000-06-22 05:47:16 +0000
committerColeman Kane <cokane@FreeBSD.org>2000-06-22 05:47:16 +0000
commita7769538cce4bfd9bc227d571cdb573581907ed0 (patch)
tree885a4968c445a37ae5eb8eb5a500c9cabe5c01b6 /sys
parent9147e09e649dee924255bdeb08264eae09bfbd0f (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/3dfx/Makefile8
-rw-r--r--sys/modules/tdfx/Makefile8
-rw-r--r--sys/modules/tdfx/README.linuxemu10
3 files changed, 18 insertions, 8 deletions
diff --git a/sys/modules/3dfx/Makefile b/sys/modules/3dfx/Makefile
index 6f97d3ea006dd..d5cfd09da9bdc 100644
--- a/sys/modules/3dfx/Makefile
+++ b/sys/modules/3dfx/Makefile
@@ -1,3 +1,4 @@
+# $FreeBSD$
.PATH: $(.CURDIR)/../../dev/tdfx
KMOD = tdfx
NOMAN = YES
@@ -6,13 +7,12 @@ SRCS = opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
INCSRC = ../../sys
# Uncomment this for debugging messages
-TDFX_VERBOSE = "\#define TDFX_VERBOSE"
+#CFLAGS += -DDEBUG
-# kludge to allow opt_tdfx.h to exist
-pci.h: opt_tdfx.h
+pci.h:
echo "#define NPCI 1" > pci.h
opt_tdfx.h:
- echo $(TDFX_VERBOSE) > opt_tdfx.h
+ touch opt_tdfx.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/tdfx/Makefile b/sys/modules/tdfx/Makefile
index 6f97d3ea006dd..d5cfd09da9bdc 100644
--- a/sys/modules/tdfx/Makefile
+++ b/sys/modules/tdfx/Makefile
@@ -1,3 +1,4 @@
+# $FreeBSD$
.PATH: $(.CURDIR)/../../dev/tdfx
KMOD = tdfx
NOMAN = YES
@@ -6,13 +7,12 @@ SRCS = opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\
INCSRC = ../../sys
# Uncomment this for debugging messages
-TDFX_VERBOSE = "\#define TDFX_VERBOSE"
+#CFLAGS += -DDEBUG
-# kludge to allow opt_tdfx.h to exist
-pci.h: opt_tdfx.h
+pci.h:
echo "#define NPCI 1" > pci.h
opt_tdfx.h:
- echo $(TDFX_VERBOSE) > opt_tdfx.h
+ touch opt_tdfx.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/tdfx/README.linuxemu b/sys/modules/tdfx/README.linuxemu
new file mode 100644
index 0000000000000..0ebce9e8d9cd1
--- /dev/null
+++ b/sys/modules/tdfx/README.linuxemu
@@ -0,0 +1,10 @@
+$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 LINUX_TDFX