diff options
author | cokane <cokane@FreeBSD.org> | 2000-06-24 06:20:55 +0000 |
---|---|---|
committer | cokane <cokane@FreeBSD.org> | 2000-06-24 06:20:55 +0000 |
commit | e2e762d53113dd2f35dd617d6b90b00a8fd36523 (patch) | |
tree | 69bb706bb46d7ecc36d9cd029113b8d716681c28 /sys/dev/tdfx/tdfx_pci.c | |
parent | 78429444cb5b0b6b757796c6ac03c4125f580936 (diff) | |
download | FreeBSD-src-e2e762d53113dd2f35dd617d6b90b00a8fd36523.zip FreeBSD-src-e2e762d53113dd2f35dd617d6b90b00a8fd36523.tar.gz |
Stupid me, I put the opt_tdfx.h underneath a test for TDFX_LINUX, which
resides in opt_tdfx. I also cleand up that large define. Compile, tell me
if it does, and I'll re-enable the tdfx entry in the makefile.
Diffstat (limited to 'sys/dev/tdfx/tdfx_pci.c')
-rw-r--r-- | sys/dev/tdfx/tdfx_pci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/tdfx/tdfx_pci.c b/sys/dev/tdfx/tdfx_pci.c index 9709fd5..d1ac656 100644 --- a/sys/dev/tdfx/tdfx_pci.c +++ b/sys/dev/tdfx/tdfx_pci.c @@ -74,6 +74,9 @@ #include <machine/resource.h> #include <machine/bus.h> #include <sys/rman.h> + +/* This must come first */ +#include "opt_tdfx.h" #ifdef TDFX_LINUX #include <dev/tdfx/tdfx_linux.h> #endif @@ -82,7 +85,6 @@ #include <dev/tdfx/tdfx_vars.h> #include <dev/tdfx/tdfx_pci.h> -#include "opt_tdfx.h" static devclass_t tdfx_devclass; |