Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89fe5117 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

sound: Convert to menuconfig



Convert menu in sound Kconfig files to menuconfig and if.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 06b5fb97
Loading
Loading
Loading
Loading
+14 −20
Original line number Diff line number Diff line
# sound/Config.in
#

menu "Sound"
	depends on HAS_IOMEM

config SOUND
menuconfig SOUND
	tristate "Sound card support"
	depends on HAS_IOMEM
	help
	  If you have a sound card in your computer, i.e. if it can say more
	  than an occasional beep, say Y.  Be sure to have all the information
@@ -28,22 +26,22 @@ config SOUND
	  and read <file:Documentation/sound/oss/README.modules>; the module
	  will be called soundcore.

if SOUND

source "sound/oss/dmasound/Kconfig"

if !M68K

menu "Advanced Linux Sound Architecture"
	depends on SOUND!=n

config SND
menuconfig SND
	tristate "Advanced Linux Sound Architecture"
	depends on SOUND
	help
	  Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
	  the new base sound system.

	  For more information, see <http://www.alsa-project.org/>

if SND

source "sound/core/Kconfig"

source "sound/drivers/Kconfig"
@@ -58,9 +56,7 @@ source "sound/aoa/Kconfig"

source "sound/arm/Kconfig"

if SPI
source "sound/spi/Kconfig"
endif

source "sound/mips/Kconfig"

@@ -80,22 +76,20 @@ source "sound/parisc/Kconfig"

source "sound/soc/Kconfig"

endmenu
endif # SND

menu "Open Sound System"
	depends on SOUND!=n

config SOUND_PRIME
menuconfig SOUND_PRIME
	tristate "Open Sound System (DEPRECATED)"
	depends on SOUND
	help
	  Say 'Y' or 'M' to enable Open Sound System drivers.

if SOUND_PRIME

source "sound/oss/Kconfig"

endmenu
endif # SOUND_PRIME

endif
endif # !M68K

config AC97_BUS
	tristate
@@ -105,4 +99,4 @@ config AC97_BUS
	  sound although they're sharing the AC97 bus. Concerned drivers
	  should "select" this.

endmenu
endif # SOUND
+5 −6
Original line number Diff line number Diff line
menu "Apple Onboard Audio driver"
	depends on SND!=n && PPC_PMAC

config SND_AOA
menuconfig SND_AOA
	tristate "Apple Onboard Audio driver"
	depends on SND
	depends on PPC_PMAC
	select SND_PCM
	---help---
	This option enables the new driver for the various
	Apple Onboard Audio components.

if SND_AOA

source "sound/aoa/fabrics/Kconfig"

source "sound/aoa/codecs/Kconfig"

source "sound/aoa/soundbus/Kconfig"

endmenu
endif	# SND_AOA
+0 −4
Original line number Diff line number Diff line
config SND_AOA_ONYX
	tristate "support Onyx chip"
	depends on SND_AOA
	select I2C
	select I2C_POWERMAC
	---help---
@@ -10,7 +9,6 @@ config SND_AOA_ONYX

#config SND_AOA_TOPAZ
#	tristate "support Topaz chips"
#	depends on SND_AOA
#	---help---
#	This option enables support for the Topaz (CS84xx)
#	codec chips found in the latest Apple machines,
@@ -19,7 +17,6 @@ config SND_AOA_ONYX

config SND_AOA_TAS
	tristate "support TAS chips"
	depends on SND_AOA
	select I2C
	select I2C_POWERMAC
	---help---
@@ -29,7 +26,6 @@ config SND_AOA_TAS

config SND_AOA_TOONIE
	tristate "support Toonie chip"
	depends on SND_AOA
	---help---
	This option enables support for the toonie codec
	found in the Mac Mini. If you have a Mac Mini and
+0 −1
Original line number Diff line number Diff line
config SND_AOA_FABRIC_LAYOUT
	tristate "layout-id fabric"
	depends on SND_AOA
	select SND_AOA_SOUNDBUS
	select SND_AOA_SOUNDBUS_I2S
	---help---
+0 −1
Original line number Diff line number Diff line
config SND_AOA_SOUNDBUS
	tristate "Apple Soundbus support"
	depends on SOUND
	select SND_PCM
	---help---
	This option enables the generic driver for the soundbus
Loading