summaryrefslogtreecommitdiffstats
path: root/sys/modules/3dfx
diff options
context:
space:
mode:
authorcokane <cokane@FreeBSD.org>2000-06-21 20:32:24 +0000
committercokane <cokane@FreeBSD.org>2000-06-21 20:32:24 +0000
commit8a0824c301df54179c9ff0a2a05db00db380560e (patch)
tree60d00baee295e65e228b388c6dafa72f25aaf806 /sys/modules/3dfx
parentfd35136c6dcf725645029a03a946c73fb3467e67 (diff)
downloadFreeBSD-src-8a0824c301df54179c9ff0a2a05db00db380560e.zip
FreeBSD-src-8a0824c301df54179c9ff0a2a05db00db380560e.tar.gz
Add a kld to correlate with my committ of the voodoo driver (tdfx).
Diffstat (limited to 'sys/modules/3dfx')
-rw-r--r--sys/modules/3dfx/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/modules/3dfx/Makefile b/sys/modules/3dfx/Makefile
new file mode 100644
index 0000000..6f97d3e
--- /dev/null
+++ b/sys/modules/3dfx/Makefile
@@ -0,0 +1,18 @@
+.PATH: $(.CURDIR)/../../dev/tdfx
+KMOD = tdfx
+NOMAN = YES
+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
+
+# Uncomment this for debugging messages
+TDFX_VERBOSE = "\#define TDFX_VERBOSE"
+
+# kludge to allow opt_tdfx.h to exist
+pci.h: opt_tdfx.h
+ echo "#define NPCI 1" > pci.h
+
+opt_tdfx.h:
+ echo $(TDFX_VERBOSE) > opt_tdfx.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud