xref: /linux/sound/Kconfig (revision ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1)
1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
289fe5117STakashi Iwaimenuconfig SOUND
31da177e4SLinus Torvalds	tristate "Sound card support"
489fe5117STakashi Iwai	depends on HAS_IOMEM
51da177e4SLinus Torvalds	help
61da177e4SLinus Torvalds	  If you have a sound card in your computer, i.e. if it can say more
7727dede0STakashi Iwai	  than an occasional beep, say Y.
81da177e4SLinus Torvalds
989fe5117STakashi Iwaiif SOUND
1089fe5117STakashi Iwai
11d886e87cSTejun Heoconfig SOUND_OSS_CORE
12d886e87cSTejun Heo	bool
13d886e87cSTejun Heo	default n
14d886e87cSTejun Heo
1593fe4483STejun Heoconfig SOUND_OSS_CORE_PRECLAIM
1693fe4483STejun Heo	bool "Preclaim OSS device numbers"
1793fe4483STejun Heo	depends on SOUND_OSS_CORE
1893fe4483STejun Heo	default y
1993fe4483STejun Heo	help
2093fe4483STejun Heo	  With this option enabled, the kernel will claim all OSS device
2193fe4483STejun Heo	  numbers if any OSS support (native or emulation) is enabled
2293fe4483STejun Heo	  whether the respective module is loaded or not and try to load the
2393fe4483STejun Heo	  appropriate module using sound-slot/service-* and char-major-*
2493fe4483STejun Heo	  module aliases when one of the device numbers is opened.  With
2593fe4483STejun Heo	  this option disabled, kernel will only claim actually in-use
2693fe4483STejun Heo	  device numbers and opening a missing device will generate only the
2793fe4483STejun Heo	  standard char-major-* aliases.
2893fe4483STejun Heo
2993fe4483STejun Heo	  The only visible difference is use of additional module aliases
3093fe4483STejun Heo	  and whether OSS sound devices appear multiple times in
3193fe4483STejun Heo	  /proc/devices.  sound-slot/service-* module aliases are scheduled
3293fe4483STejun Heo	  to be removed (ie. PRECLAIM won't be available) and this option is
3393fe4483STejun Heo	  to make the transition easier.  This option can be overridden
3493fe4483STejun Heo	  during boot using the kernel parameter soundcore.preclaim_oss.
3593fe4483STejun Heo
3693fe4483STejun Heo	  Disabling this allows alternative OSS implementations.
3793fe4483STejun Heo
38af901ca1SAndré Goddard Rosa	  If unsure, say Y.
3993fe4483STejun Heo
401da177e4SLinus Torvaldssource "sound/oss/dmasound/Kconfig"
411da177e4SLinus Torvalds
4229b59b35STakashi Iwaiif !UML
431da177e4SLinus Torvalds
4489fe5117STakashi Iwaimenuconfig SND
451da177e4SLinus Torvalds	tristate "Advanced Linux Sound Architecture"
4623854c30STakashi Iwai	help
4723854c30STakashi Iwai	  Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
4823854c30STakashi Iwai	  the new base sound system.
4923854c30STakashi Iwai
509baf6507STakashi Iwai	  For more information, see <http://www.alsa-project.org/>
511da177e4SLinus Torvalds
5289fe5117STakashi Iwaiif SND
5389fe5117STakashi Iwai
541da177e4SLinus Torvaldssource "sound/core/Kconfig"
551da177e4SLinus Torvalds
561da177e4SLinus Torvaldssource "sound/drivers/Kconfig"
571da177e4SLinus Torvalds
581da177e4SLinus Torvaldssource "sound/isa/Kconfig"
591da177e4SLinus Torvalds
601da177e4SLinus Torvaldssource "sound/pci/Kconfig"
611da177e4SLinus Torvalds
62e3d280fcSTakashi Iwaisource "sound/hda/Kconfig"
63e3d280fcSTakashi Iwai
641da177e4SLinus Torvaldssource "sound/ppc/Kconfig"
651da177e4SLinus Torvalds
668d433441SRobert Jarzmiksource "sound/ac97/Kconfig"
678d433441SRobert Jarzmik
68f3d9478bSJohannes Bergsource "sound/aoa/Kconfig"
69f3d9478bSJohannes Berg
701da177e4SLinus Torvaldssource "sound/arm/Kconfig"
711da177e4SLinus Torvalds
726c7578bbSHans-Christian Egtvedtsource "sound/atmel/Kconfig"
736c7578bbSHans-Christian Egtvedt
743b0a899cSHans-Christian Egtvedtsource "sound/spi/Kconfig"
753b0a899cSHans-Christian Egtvedt
761da177e4SLinus Torvaldssource "sound/mips/Kconfig"
771da177e4SLinus Torvalds
78198de43dSAdrian McMenaminsource "sound/sh/Kconfig"
79198de43dSAdrian McMenamin
803cb2fcccSMatt LaPlante# the following will depend on the order of config.
811da177e4SLinus Torvalds# here assuming USB is defined before ALSA
821da177e4SLinus Torvaldssource "sound/usb/Kconfig"
831da177e4SLinus Torvalds
8431ef9134SClemens Ladischsource "sound/firewire/Kconfig"
8531ef9134SClemens Ladisch
863cb2fcccSMatt LaPlante# the following will depend on the order of config.
871da177e4SLinus Torvalds# here assuming PCMCIA is defined before ALSA
881da177e4SLinus Torvaldssource "sound/pcmcia/Kconfig"
891da177e4SLinus Torvalds
901da177e4SLinus Torvaldssource "sound/sparc/Kconfig"
911da177e4SLinus Torvalds
921da177e4SLinus Torvaldssource "sound/parisc/Kconfig"
931da177e4SLinus Torvalds
94a3288176SLiam Girdwoodsource "sound/soc/Kconfig"
95a3288176SLiam Girdwood
96287599cfSJerome Anandsource "sound/x86/Kconfig"
97287599cfSJerome Anand
9882721155STakashi Iwaisource "sound/synth/Kconfig"
9982721155STakashi Iwai
100cc3196aeSOleksandr Andrushchenkosource "sound/xen/Kconfig"
101cc3196aeSOleksandr Andrushchenko
10289fe5117STakashi Iwaiendif # SND
1031da177e4SLinus Torvalds
10429b59b35STakashi Iwaiendif # !UML
1051da177e4SLinus Torvalds
1068a656496STakashi Iwaiendif # SOUND
1078a656496STakashi Iwai
1088a656496STakashi Iwai# AC97_BUS is used from both sound and ucb1400
109e1036502SNicolas Pitreconfig AC97_BUS
110e1036502SNicolas Pitre	tristate
111e1036502SNicolas Pitre	help
112e1036502SNicolas Pitre	  This is used to avoid config and link hard dependencies between the
113e1036502SNicolas Pitre	  sound subsystem and other function drivers completely unrelated to
114e1036502SNicolas Pitre	  sound although they're sharing the AC97 bus. Concerned drivers
115e1036502SNicolas Pitre	  should "select" this.
116