summaryrefslogtreecommitdiffstats
path: root/sys/dev/tdfx
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-01-29 11:38:39 +0000
committerpeter <peter@FreeBSD.org>2001-01-29 11:38:39 +0000
commitc617fc9c7d3189887e4f9ba9fbdb43bf72e8cabd (patch)
tree04162d51a2fd4adc369836d595999159559f2e2b /sys/dev/tdfx
parent21b418d3ba25f0a01ae20c28971c7dde0a47cee4 (diff)
downloadFreeBSD-src-c617fc9c7d3189887e4f9ba9fbdb43bf72e8cabd.zip
FreeBSD-src-c617fc9c7d3189887e4f9ba9fbdb43bf72e8cabd.tar.gz
Zap silly #if NPCI > 0 and the hoops that we jump through for the module
case. Use an 'and' case in conf/files so that it only gets compiled if pci is present.
Diffstat (limited to 'sys/dev/tdfx')
-rw-r--r--sys/dev/tdfx/tdfx_pci.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/dev/tdfx/tdfx_pci.c b/sys/dev/tdfx/tdfx_pci.c
index 8339738..d71e9c1 100644
--- a/sys/dev/tdfx/tdfx_pci.c
+++ b/sys/dev/tdfx/tdfx_pci.c
@@ -38,12 +38,6 @@
* and Jens Axboe, located at http://linux.3dfx.com.
*/
-/*
- * put this here, so as to bail out immediately if we have no PCI BUS installed
- */
-#include "pci.h"
-#if NPCI > 0
-
#include <sys/param.h>
#include <sys/bus_private.h>
@@ -871,6 +865,3 @@ static driver_t tdfx_driver = {
/* Tell Mr. Kernel about us! */
DRIVER_MODULE(tdfx, pci, tdfx_driver, tdfx_devclass, 0, 0);
-
-
-#endif /* NPCI */
OpenPOWER on IntegriCloud