From c617fc9c7d3189887e4f9ba9fbdb43bf72e8cabd Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 29 Jan 2001 11:38:39 +0000 Subject: 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. --- sys/dev/tdfx/tdfx_pci.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'sys/dev/tdfx/tdfx_pci.c') 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 #include @@ -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 */ -- cgit v1.1