xref: /openbmc/linux/sound/Kconfig (revision a72594ca)
1menuconfig SOUND
2	tristate "Sound card support"
3	depends on HAS_IOMEM
4	help
5	  If you have a sound card in your computer, i.e. if it can say more
6	  than an occasional beep, say Y.
7
8if SOUND
9
10config SOUND_OSS_CORE
11	bool
12	default n
13
14config SOUND_OSS_CORE_PRECLAIM
15	bool "Preclaim OSS device numbers"
16	depends on SOUND_OSS_CORE
17	default y
18	help
19	  With this option enabled, the kernel will claim all OSS device
20	  numbers if any OSS support (native or emulation) is enabled
21	  whether the respective module is loaded or not and try to load the
22	  appropriate module using sound-slot/service-* and char-major-*
23	  module aliases when one of the device numbers is opened.  With
24	  this option disabled, kernel will only claim actually in-use
25	  device numbers and opening a missing device will generate only the
26	  standard char-major-* aliases.
27
28	  The only visible difference is use of additional module aliases
29	  and whether OSS sound devices appear multiple times in
30	  /proc/devices.  sound-slot/service-* module aliases are scheduled
31	  to be removed (ie. PRECLAIM won't be available) and this option is
32	  to make the transition easier.  This option can be overridden
33	  during boot using the kernel parameter soundcore.preclaim_oss.
34
35	  Disabling this allows alternative OSS implementations.
36
37	  If unsure, say Y.
38
39source "sound/oss/dmasound/Kconfig"
40
41if !UML
42
43menuconfig SND
44	tristate "Advanced Linux Sound Architecture"
45	help
46	  Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
47	  the new base sound system.
48
49	  For more information, see <http://www.alsa-project.org/>
50
51if SND
52
53source "sound/core/Kconfig"
54
55source "sound/drivers/Kconfig"
56
57source "sound/isa/Kconfig"
58
59source "sound/pci/Kconfig"
60
61source "sound/hda/Kconfig"
62
63source "sound/ppc/Kconfig"
64
65source "sound/ac97/Kconfig"
66
67source "sound/aoa/Kconfig"
68
69source "sound/arm/Kconfig"
70
71source "sound/atmel/Kconfig"
72
73source "sound/spi/Kconfig"
74
75source "sound/mips/Kconfig"
76
77source "sound/sh/Kconfig"
78
79# the following will depend on the order of config.
80# here assuming USB is defined before ALSA
81source "sound/usb/Kconfig"
82
83source "sound/firewire/Kconfig"
84
85# the following will depend on the order of config.
86# here assuming PCMCIA is defined before ALSA
87source "sound/pcmcia/Kconfig"
88
89source "sound/sparc/Kconfig"
90
91source "sound/parisc/Kconfig"
92
93source "sound/soc/Kconfig"
94
95source "sound/x86/Kconfig"
96
97source "sound/synth/Kconfig"
98
99endif # SND
100
101endif # !UML
102
103endif # SOUND
104
105# AC97_BUS is used from both sound and ucb1400
106config AC97_BUS
107	tristate
108	help
109	  This is used to avoid config and link hard dependencies between the
110	  sound subsystem and other function drivers completely unrelated to
111	  sound although they're sharing the AC97 bus. Concerned drivers
112	  should "select" this.
113