diff options
author | peter <peter@FreeBSD.org> | 1999-12-06 18:26:33 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-12-06 18:26:33 +0000 |
commit | 7de5d2d4188cf51ce23905b7e5c99cd44523a0e4 (patch) | |
tree | 3f6b25bd5395886e713aad1c34be32f2679ab6b1 /sys/dev/sound/isa/ad1816.c | |
parent | 09d56a3f8fb30923853952ed8a777819e12d5b22 (diff) | |
download | FreeBSD-src-7de5d2d4188cf51ce23905b7e5c99cd44523a0e4.zip FreeBSD-src-7de5d2d4188cf51ce23905b7e5c99cd44523a0e4.tar.gz |
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)
Diffstat (limited to 'sys/dev/sound/isa/ad1816.c')
-rw-r--r-- | sys/dev/sound/isa/ad1816.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/sound/isa/ad1816.c b/sys/dev/sound/isa/ad1816.c index 5c1cf55..81b22e1 100644 --- a/sys/dev/sound/isa/ad1816.c +++ b/sys/dev/sound/isa/ad1816.c @@ -29,9 +29,6 @@ */ #include <dev/sound/pcm/sound.h> - -#if NPCM > 0 && NPNP > 0 - #include <dev/sound/isa/ad1816.h> struct ad1816_info; @@ -621,5 +618,3 @@ static driver_t ad1816_driver = { }; DRIVER_MODULE(ad1816, isa, ad1816_driver, pcm_devclass, 0, 0); - -#endif |