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