]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - sound/Kconfig
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
[mirror_ubuntu-bionic-kernel.git] / sound / Kconfig
1 menuconfig 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. Be sure to have all the information
7 about your sound card and its configuration down (I/O port,
8 interrupt and DMA channel), because you will be asked for it.
9
10 You want to read the Sound-HOWTO, available from
11 <http://www.tldp.org/docs.html#howto>. General information about
12 the modular sound system is contained in the files
13 <file:Documentation/sound/oss/Introduction>. The file
14 <file:Documentation/sound/oss/README.OSS> contains some slightly
15 outdated but still useful information as well. Newer sound
16 driver documentation is found in <file:Documentation/sound/alsa/*>.
17
18 If you have a PnP sound card and you want to configure it at boot
19 time using the ISA PnP tools (read
20 <http://www.roestock.demon.co.uk/isapnptools/>), then you need to
21 compile the sound card support as a module and load that module
22 after the PnP configuration is finished. To do this, choose M here
23 and read <file:Documentation/sound/oss/README.modules>; the module
24 will be called soundcore.
25
26 if SOUND
27
28 config SOUND_OSS_CORE
29 bool
30 default n
31
32 config SOUND_OSS_CORE_PRECLAIM
33 bool "Preclaim OSS device numbers"
34 depends on SOUND_OSS_CORE
35 default y
36 help
37 With this option enabled, the kernel will claim all OSS device
38 numbers if any OSS support (native or emulation) is enabled
39 whether the respective module is loaded or not and try to load the
40 appropriate module using sound-slot/service-* and char-major-*
41 module aliases when one of the device numbers is opened. With
42 this option disabled, kernel will only claim actually in-use
43 device numbers and opening a missing device will generate only the
44 standard char-major-* aliases.
45
46 The only visible difference is use of additional module aliases
47 and whether OSS sound devices appear multiple times in
48 /proc/devices. sound-slot/service-* module aliases are scheduled
49 to be removed (ie. PRECLAIM won't be available) and this option is
50 to make the transition easier. This option can be overridden
51 during boot using the kernel parameter soundcore.preclaim_oss.
52
53 Disabling this allows alternative OSS implementations.
54
55 If unsure, say Y.
56
57 source "sound/oss/dmasound/Kconfig"
58
59 if !M68K && !UML
60
61 menuconfig SND
62 tristate "Advanced Linux Sound Architecture"
63 help
64 Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
65 the new base sound system.
66
67 For more information, see <http://www.alsa-project.org/>
68
69 if SND
70
71 source "sound/core/Kconfig"
72
73 source "sound/drivers/Kconfig"
74
75 source "sound/isa/Kconfig"
76
77 source "sound/pci/Kconfig"
78
79 source "sound/ppc/Kconfig"
80
81 source "sound/aoa/Kconfig"
82
83 source "sound/arm/Kconfig"
84
85 source "sound/atmel/Kconfig"
86
87 source "sound/spi/Kconfig"
88
89 source "sound/mips/Kconfig"
90
91 source "sound/sh/Kconfig"
92
93 # the following will depend on the order of config.
94 # here assuming USB is defined before ALSA
95 source "sound/usb/Kconfig"
96
97 source "sound/firewire/Kconfig"
98
99 # the following will depend on the order of config.
100 # here assuming PCMCIA is defined before ALSA
101 source "sound/pcmcia/Kconfig"
102
103 source "sound/sparc/Kconfig"
104
105 source "sound/parisc/Kconfig"
106
107 source "sound/soc/Kconfig"
108
109 endif # SND
110
111 menuconfig SOUND_PRIME
112 tristate "Open Sound System (DEPRECATED)"
113 select SOUND_OSS_CORE
114 help
115 Say 'Y' or 'M' to enable Open Sound System drivers.
116
117 if SOUND_PRIME
118
119 source "sound/oss/Kconfig"
120
121 endif # SOUND_PRIME
122
123 endif # !M68K
124
125 endif # SOUND
126
127 # AC97_BUS is used from both sound and ucb1400
128 config AC97_BUS
129 tristate
130 help
131 This is used to avoid config and link hard dependencies between the
132 sound subsystem and other function drivers completely unrelated to
133 sound although they're sharing the AC97 bus. Concerned drivers
134 should "select" this.