xref: /linux/sound/Kconfig (revision 5c94bdab3a32e6225b30df6650337ad21ac42551)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
289fe5117STakashi Iwaimenuconfig SOUND
31da177e4SLinus Torvalds	tristate "Sound card support"
4*ad6639f1SJulian Vetter	depends on HAS_IOMEM || INDIRECT_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
4289fe5117STakashi Iwaimenuconfig SND
431da177e4SLinus Torvalds	tristate "Advanced Linux Sound Architecture"
4423854c30STakashi Iwai	help
4523854c30STakashi Iwai	  Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
4623854c30STakashi Iwai	  the new base sound system.
4723854c30STakashi Iwai
489baf6507STakashi Iwai	  For more information, see <http://www.alsa-project.org/>
491da177e4SLinus Torvalds
5089fe5117STakashi Iwaiif SND
5189fe5117STakashi Iwai
521da177e4SLinus Torvaldssource "sound/core/Kconfig"
531da177e4SLinus Torvalds
541da177e4SLinus Torvaldssource "sound/drivers/Kconfig"
551da177e4SLinus Torvalds
561da177e4SLinus Torvaldssource "sound/isa/Kconfig"
571da177e4SLinus Torvalds
581da177e4SLinus Torvaldssource "sound/pci/Kconfig"
591da177e4SLinus Torvalds
60e3d280fcSTakashi Iwaisource "sound/hda/Kconfig"
61e3d280fcSTakashi Iwai
621da177e4SLinus Torvaldssource "sound/ppc/Kconfig"
631da177e4SLinus Torvalds
648d433441SRobert Jarzmiksource "sound/ac97/Kconfig"
658d433441SRobert Jarzmik
66f3d9478bSJohannes Bergsource "sound/aoa/Kconfig"
67f3d9478bSJohannes Berg
681da177e4SLinus Torvaldssource "sound/arm/Kconfig"
691da177e4SLinus Torvalds
706c7578bbSHans-Christian Egtvedtsource "sound/atmel/Kconfig"
716c7578bbSHans-Christian Egtvedt
723b0a899cSHans-Christian Egtvedtsource "sound/spi/Kconfig"
733b0a899cSHans-Christian Egtvedt
741da177e4SLinus Torvaldssource "sound/mips/Kconfig"
751da177e4SLinus Torvalds
76198de43dSAdrian McMenaminsource "sound/sh/Kconfig"
77198de43dSAdrian McMenamin
783cb2fcccSMatt LaPlante# the following will depend on the order of config.
791da177e4SLinus Torvalds# here assuming USB is defined before ALSA
801da177e4SLinus Torvaldssource "sound/usb/Kconfig"
811da177e4SLinus Torvalds
8231ef9134SClemens Ladischsource "sound/firewire/Kconfig"
8331ef9134SClemens Ladisch
843cb2fcccSMatt LaPlante# the following will depend on the order of config.
851da177e4SLinus Torvalds# here assuming PCMCIA is defined before ALSA
861da177e4SLinus Torvaldssource "sound/pcmcia/Kconfig"
871da177e4SLinus Torvalds
881da177e4SLinus Torvaldssource "sound/sparc/Kconfig"
891da177e4SLinus Torvalds
901da177e4SLinus Torvaldssource "sound/parisc/Kconfig"
911da177e4SLinus Torvalds
92a3288176SLiam Girdwoodsource "sound/soc/Kconfig"
93a3288176SLiam Girdwood
94287599cfSJerome Anandsource "sound/x86/Kconfig"
95287599cfSJerome Anand
9682721155STakashi Iwaisource "sound/synth/Kconfig"
9782721155STakashi Iwai
98cc3196aeSOleksandr Andrushchenkosource "sound/xen/Kconfig"
99cc3196aeSOleksandr Andrushchenko
100de3a9980SAnton Yakovlevsource "sound/virtio/Kconfig"
101de3a9980SAnton Yakovlev
10289fe5117STakashi Iwaiendif # SND
1031da177e4SLinus Torvalds
1048a656496STakashi Iwaiendif # SOUND
1058a656496STakashi Iwai
106e1036502SNicolas Pitreconfig AC97_BUS
107e1036502SNicolas Pitre	tristate
108e1036502SNicolas Pitre	help
109e1036502SNicolas Pitre	  This is used to avoid config and link hard dependencies between the
110e1036502SNicolas Pitre	  sound subsystem and other function drivers completely unrelated to
111e1036502SNicolas Pitre	  sound although they're sharing the AC97 bus. Concerned drivers
112e1036502SNicolas Pitre	  should "select" this.
113