blob: 36785410fbe15fdbfc15a872e4e6980d6180e8c7 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Takashi Iwai89fe5112008-05-23 16:10:37 +02002menuconfig SOUND
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 tristate "Sound card support"
Takashi Iwai89fe5112008-05-23 16:10:37 +02004 depends on HAS_IOMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07005 help
6 If you have a sound card in your computer, i.e. if it can say more
Takashi Iwai727dede2017-10-24 09:15:23 +02007 than an occasional beep, say Y.
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
Takashi Iwai89fe5112008-05-23 16:10:37 +02009if SOUND
10
Tejun Heod886e872008-08-28 16:42:51 +020011config SOUND_OSS_CORE
12 bool
13 default n
14
Tejun Heo93fe4482009-08-06 18:14:26 +090015config 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
André Goddard Rosaaf901ca2009-11-14 13:09:05 -020038 If unsure, say Y.
Tejun Heo93fe4482009-08-06 18:14:26 +090039
Linus Torvalds1da177e2005-04-16 15:20:36 -070040source "sound/oss/dmasound/Kconfig"
41
Takashi Iwai29b59b32017-05-16 10:42:04 +020042if !UML
Linus Torvalds1da177e2005-04-16 15:20:36 -070043
Takashi Iwai89fe5112008-05-23 16:10:37 +020044menuconfig SND
Linus Torvalds1da177e2005-04-16 15:20:36 -070045 tristate "Advanced Linux Sound Architecture"
Takashi Iwai23854c32005-05-24 15:22:40 +020046 help
47 Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
48 the new base sound system.
49
Takashi Iwai9baf6502005-05-24 17:27:00 +020050 For more information, see <http://www.alsa-project.org/>
Linus Torvalds1da177e2005-04-16 15:20:36 -070051
Takashi Iwai89fe5112008-05-23 16:10:37 +020052if SND
53
Linus Torvalds1da177e2005-04-16 15:20:36 -070054source "sound/core/Kconfig"
55
56source "sound/drivers/Kconfig"
57
58source "sound/isa/Kconfig"
59
60source "sound/pci/Kconfig"
61
Takashi Iwaie3d280f2015-02-17 21:46:37 +010062source "sound/hda/Kconfig"
63
Linus Torvalds1da177e2005-04-16 15:20:36 -070064source "sound/ppc/Kconfig"
65
Robert Jarzmik8d433442017-09-02 21:54:05 +020066source "sound/ac97/Kconfig"
67
Johannes Bergf3d94782006-06-21 15:42:43 +020068source "sound/aoa/Kconfig"
69
Linus Torvalds1da177e2005-04-16 15:20:36 -070070source "sound/arm/Kconfig"
71
Hans-Christian Egtvedt6c7578b2009-02-05 13:11:01 +010072source "sound/atmel/Kconfig"
73
Hans-Christian Egtvedt3b0a8992007-07-23 15:52:42 +020074source "sound/spi/Kconfig"
Hans-Christian Egtvedt3b0a8992007-07-23 15:52:42 +020075
Linus Torvalds1da177e2005-04-16 15:20:36 -070076source "sound/mips/Kconfig"
77
Adrian McMenamin198de432007-05-18 14:26:59 +020078source "sound/sh/Kconfig"
79
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +010080# the following will depend on the order of config.
Linus Torvalds1da177e2005-04-16 15:20:36 -070081# here assuming USB is defined before ALSA
82source "sound/usb/Kconfig"
83
Clemens Ladisch31ef9132011-03-15 07:53:21 +010084source "sound/firewire/Kconfig"
85
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +010086# the following will depend on the order of config.
Linus Torvalds1da177e2005-04-16 15:20:36 -070087# here assuming PCMCIA is defined before ALSA
88source "sound/pcmcia/Kconfig"
89
90source "sound/sparc/Kconfig"
91
92source "sound/parisc/Kconfig"
93
Liam Girdwooda3288172006-10-06 18:33:55 +020094source "sound/soc/Kconfig"
95
Jerome Anand287599c2017-01-25 04:27:51 +053096source "sound/x86/Kconfig"
97
Takashi Iwai82721152017-06-09 14:57:51 +020098source "sound/synth/Kconfig"
99
Oleksandr Andrushchenkocc3196ae12018-05-14 09:27:37 +0300100source "sound/xen/Kconfig"
101
Takashi Iwai89fe5112008-05-23 16:10:37 +0200102endif # SND
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103
Takashi Iwai29b59b32017-05-16 10:42:04 +0200104endif # !UML
Linus Torvalds1da177e2005-04-16 15:20:36 -0700105
Takashi Iwai8a656492008-09-06 11:43:41 +0200106endif # SOUND
107
108# AC97_BUS is used from both sound and ucb1400
Nicolas Pitree1036502006-12-12 13:32:29 -0500109config 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.