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