Commit 4411451d authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] Dmasound config

Dmasound: Use select to get CONFIG_DMASOUND defined for all subdrivers (from
Christoph Hellwig).
parent 0abfbbdc
# drivers/sound/dmasound/Config.in
config DMASOUND_ATARI config DMASOUND_ATARI
tristate "Atari DMA sound support" tristate "Atari DMA sound support"
depends on ATARI && SOUND depends on ATARI && SOUND
select DMASOUND
help help
If you want to use the internal audio of your Atari in Linux, answer If you want to use the internal audio of your Atari in Linux, answer
Y to this question. This will provide a Sun-like /dev/audio, Y to this question. This will provide a Sun-like /dev/audio,
...@@ -15,6 +15,7 @@ config DMASOUND_ATARI ...@@ -15,6 +15,7 @@ config DMASOUND_ATARI
config DMASOUND_PMAC config DMASOUND_PMAC
tristate "PowerMac DMA sound support" tristate "PowerMac DMA sound support"
depends on PPC_PMAC && SOUND && I2C depends on PPC_PMAC && SOUND && I2C
select DMASOUND
help help
If you want to use the internal audio of your PowerMac in Linux, If you want to use the internal audio of your PowerMac in Linux,
answer Y to this question. This will provide a Sun-like /dev/audio, answer Y to this question. This will provide a Sun-like /dev/audio,
...@@ -28,6 +29,7 @@ config DMASOUND_PMAC ...@@ -28,6 +29,7 @@ config DMASOUND_PMAC
config DMASOUND_PAULA config DMASOUND_PAULA
tristate "Amiga DMA sound support" tristate "Amiga DMA sound support"
depends on (AMIGA || APUS) && SOUND depends on (AMIGA || APUS) && SOUND
select DMASOUND
help help
If you want to use the internal audio of your Amiga in Linux, answer If you want to use the internal audio of your Amiga in Linux, answer
Y to this question. This will provide a Sun-like /dev/audio, Y to this question. This will provide a Sun-like /dev/audio,
...@@ -41,6 +43,7 @@ config DMASOUND_PAULA ...@@ -41,6 +43,7 @@ config DMASOUND_PAULA
config DMASOUND_Q40 config DMASOUND_Q40
tristate "Q40 sound support" tristate "Q40 sound support"
depends on Q40 && SOUND depends on Q40 && SOUND
select DMASOUND
help help
If you want to use the internal audio of your Q40 in Linux, answer If you want to use the internal audio of your Q40 in Linux, answer
Y to this question. This will provide a Sun-like /dev/audio, Y to this question. This will provide a Sun-like /dev/audio,
...@@ -53,13 +56,3 @@ config DMASOUND_Q40 ...@@ -53,13 +56,3 @@ config DMASOUND_Q40
config DMASOUND config DMASOUND
tristate tristate
depends on SOUND!=n
default m if DMASOUND_ATARI!=y && DMASOUND_AWACS!=y && DMASOUND_PAULA!=y && DMASOUND_Q40!=y && (DMASOUND_ATARI=m || DMASOUND_AWACS=m || DMASOUND_PAULA=m || DMASOUND_Q40=m)
default y if DMASOUND_ATARI=y || DMASOUND_AWACS=y || DMASOUND_PAULA=y || DMASOUND_Q40=y
help
Support built-in audio chips accessible by DMA on various machines
that have them. Note that this symbol does not affect the kernel
directly; rather, it controls whether configuration questions
enabling DMA sound drivers for various specific machine
architectures will be used.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment