From 365b4833a061943472716dc2929fbe916f15b589 Mon Sep 17 00:00:00 2001 From: Coleman Kane Date: Wed, 21 Jun 2000 20:32:24 +0000 Subject: [PATCH] Add a kld to correlate with my committ of the voodoo driver (tdfx). --- sys/modules/3dfx/Makefile | 18 ++++++++++++++++++ sys/modules/tdfx/Makefile | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 sys/modules/3dfx/Makefile create mode 100644 sys/modules/tdfx/Makefile diff --git a/sys/modules/3dfx/Makefile b/sys/modules/3dfx/Makefile new file mode 100644 index 000000000000..6f97d3ea006d --- /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 diff --git a/sys/modules/tdfx/Makefile b/sys/modules/tdfx/Makefile new file mode 100644 index 000000000000..6f97d3ea006d --- /dev/null +++ b/sys/modules/tdfx/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