Skip to contentSkip to conversation

Dmasound config

PATCH New Geert Uytterhoeven 1 participant 1 message Sep 28, 2003 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Dmasound config

Dmasound: Use select to get CONFIG_DMASOUND defined for all subdrivers (from Christoph Hellwig).

--- linux-2.6.0-test6/sound/oss/dmasound/Kconfig Sun Jun 15 09:39:22 2003
+++ linux-m68k-2.6.0-test6/sound/oss/dmasound/Kconfig Tue Sep 23 08:50:32 2003

sound/oss/dmasound/Kconfig +4 -11
@@ -1,7 +1,7 @@
-# drivers/sound/dmasound/Config.in
 config DMASOUND_ATARI
 	tristate "Atari DMA sound support"
 	depends on ATARI && SOUND
+	select DMASOUND
 	help
 	  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,
@@ -15,6 +15,7 @@
 config DMASOUND_PMAC
 	tristate "PowerMac DMA sound support"
 	depends on PPC_PMAC && SOUND && I2C
+ 	select DMASOUND
 	help
 	  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,
@@ -28,6 +29,7 @@
 config DMASOUND_PAULA
 	tristate "Amiga DMA sound support"
 	depends on (AMIGA || APUS) && SOUND
+	select DMASOUND
 	help
 	  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,
@@ -41,6 +43,7 @@
 config DMASOUND_Q40
 	tristate "Q40 sound support"
 	depends on Q40 && SOUND
+	select DMASOUND
 	help
 	  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,
@@ -53,13 +56,3 @@
 
 config DMASOUND
 	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.
-

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds