blob: 6833db9002ecb6bef9e588bd3dc1c1db3180d4de [file] [log] [blame]
Takashi Iwai89fe5112008-05-23 16:10:37 +02001menuconfig SOUND
Linus Torvalds1da177e2005-04-16 15:20:36 -07002 tristate "Sound card support"
Takashi Iwai89fe5112008-05-23 16:10:37 +02003 depends on HAS_IOMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 help
5 If you have a sound card in your computer, i.e. if it can say more
Takashi Iwai727dede2017-10-24 09:15:23 +02006 than an occasional beep, say Y.
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
Takashi Iwai89fe5112008-05-23 16:10:37 +02008if SOUND
9
Tejun Heod886e872008-08-28 16:42:51 +020010config SOUND_OSS_CORE
11 bool
12 default n
13
Tejun Heo93fe4482009-08-06 18:14:26 +090014config 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
André Goddard Rosaaf901ca2009-11-14 13:09:05 -020037 If unsure, say Y.
Tejun Heo93fe4482009-08-06 18:14:26 +090038
Linus Torvalds1da177e2005-04-16 15:20:36 -070039source "sound/oss/dmasound/Kconfig"
40
Takashi Iwai29b59b32017-05-16 10:42:04 +020041if !UML
Linus Torvalds1da177e2005-04-16 15:20:36 -070042
Takashi Iwai89fe5112008-05-23 16:10:37 +020043menuconfig SND
Linus Torvalds1da177e2005-04-16 15:20:36 -070044 tristate "Advanced Linux Sound Architecture"
Takashi Iwai23854c32005-05-24 15:22:40 +020045 help
46 Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
47 the new base sound system.
48
Takashi Iwai9baf6502005-05-24 17:27:00 +020049 For more information, see <http://www.alsa-project.org/>
Linus Torvalds1da177e2005-04-16 15:20:36 -070050
Takashi Iwai89fe5112008-05-23 16:10:37 +020051if SND
52
Linus Torvalds1da177e2005-04-16 15:20:36 -070053source "sound/core/Kconfig"
54
55source "sound/drivers/Kconfig"
56
57source "sound/isa/Kconfig"
58
59source "sound/pci/Kconfig"
60
Takashi Iwaie3d280f2015-02-17 21:46:37 +010061source "sound/hda/Kconfig"
62
Linus Torvalds1da177e2005-04-16 15:20:36 -070063source "sound/ppc/Kconfig"
64
Robert Jarzmik8d433442017-09-02 21:54:05 +020065source "sound/ac97/Kconfig"
66
Johannes Bergf3d94782006-06-21 15:42:43 +020067source "sound/aoa/Kconfig"
68
Linus Torvalds1da177e2005-04-16 15:20:36 -070069source "sound/arm/Kconfig"
70
Hans-Christian Egtvedt6c7578b2009-02-05 13:11:01 +010071source "sound/atmel/Kconfig"
72
Hans-Christian Egtvedt3b0a8992007-07-23 15:52:42 +020073source "sound/spi/Kconfig"
Hans-Christian Egtvedt3b0a8992007-07-23 15:52:42 +020074
Linus Torvalds1da177e2005-04-16 15:20:36 -070075source "sound/mips/Kconfig"
76
Adrian McMenamin198de432007-05-18 14:26:59 +020077source "sound/sh/Kconfig"
78
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +010079# the following will depend on the order of config.
Linus Torvalds1da177e2005-04-16 15:20:36 -070080# here assuming USB is defined before ALSA
81source "sound/usb/Kconfig"
82
Clemens Ladisch31ef9132011-03-15 07:53:21 +010083source "sound/firewire/Kconfig"
84
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +010085# the following will depend on the order of config.
Linus Torvalds1da177e2005-04-16 15:20:36 -070086# here assuming PCMCIA is defined before ALSA
87source "sound/pcmcia/Kconfig"
88
89source "sound/sparc/Kconfig"
90
91source "sound/parisc/Kconfig"
92
Liam Girdwooda3288172006-10-06 18:33:55 +020093source "sound/soc/Kconfig"
94
Jerome Anand287599c2017-01-25 04:27:51 +053095source "sound/x86/Kconfig"
96
Takashi Iwai82721152017-06-09 14:57:51 +020097source "sound/synth/Kconfig"
98
Takashi Iwai89fe5112008-05-23 16:10:37 +020099endif # SND
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100
Takashi Iwai29b59b32017-05-16 10:42:04 +0200101endif # !UML
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102
Takashi Iwai8a656492008-09-06 11:43:41 +0200103endif # SOUND
104
105# AC97_BUS is used from both sound and ucb1400
Nicolas Pitree1036502006-12-12 13:32:29 -0500106config 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.