From 7de5d2d4188cf51ce23905b7e5c99cd44523a0e4 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 6 Dec 1999 18:26:33 +0000 Subject: Update for pnp adjustments regarding NPNP. Also, optimize out a mess of #if's that were duplicating work already done by config(8). For example, if a file is marked as "dev/sound/pci/foo.c optional pcm pci" then it's only added if pcm *and* pci are present, so #if NPCM > 0 and #if NPCI > 0 are totally redundant. A bit more work is still needed. Discussed with: cg (a few weeks ago) --- sys/dev/sound/pci/csa.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sys/dev/sound/pci/csa.c') diff --git a/sys/dev/sound/pci/csa.c b/sys/dev/sound/pci/csa.c index eebeda6..61dcd38 100644 --- a/sys/dev/sound/pci/csa.c +++ b/sys/dev/sound/pci/csa.c @@ -26,7 +26,6 @@ * $FreeBSD$ */ -#include "csa.h" #include "pci.h" #include @@ -49,8 +48,6 @@ #include #endif /* NPCI > 0 */ -#if NCSA > 0 - #include /* Here is the parameter structure per a device. */ @@ -792,5 +789,3 @@ static driver_t csa_driver = { */ DRIVER_MODULE(csa, pci, csa_driver, csa_devclass, 0, 0); #endif /* NPCI > 0 */ - -#endif /* NCSA > 0 */ -- cgit v1.1