blob: d7d2aac9542ea5923e82e5ee7a379fd5ae7383f9 [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
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
Takashi Iwai89fe5112008-05-23 16:10:37 +020026if SOUND
27
Tejun Heod886e872008-08-28 16:42:51 +020028config SOUND_OSS_CORE
29 bool
30 default n
31
Tejun Heo93fe4482009-08-06 18:14:26 +090032config 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
André Goddard Rosaaf901ca2009-11-14 13:09:05 -020055 If unsure, say Y.
Tejun Heo93fe4482009-08-06 18:14:26 +090056
Linus Torvalds1da177e2005-04-16 15:20:36 -070057source "sound/oss/dmasound/Kconfig"
58
Takashi Iwai29b59b32017-05-16 10:42:04 +020059if !UML
Linus Torvalds1da177e2005-04-16 15:20:36 -070060
Takashi Iwai89fe5112008-05-23 16:10:37 +020061menuconfig SND
Linus Torvalds1da177e2005-04-16 15:20:36 -070062 tristate "Advanced Linux Sound Architecture"
Takashi Iwai23854c32005-05-24 15:22:40 +020063 help
64 Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
65 the new base sound system.
66
Takashi Iwai9baf6502005-05-24 17:27:00 +020067 For more information, see <http://www.alsa-project.org/>
Linus Torvalds1da177e2005-04-16 15:20:36 -070068
Takashi Iwai89fe5112008-05-23 16:10:37 +020069if SND
70
Linus Torvalds1da177e2005-04-16 15:20:36 -070071source "sound/core/Kconfig"
72
73source "sound/drivers/Kconfig"
74
75source "sound/isa/Kconfig"
76
77source "sound/pci/Kconfig"
78
Takashi Iwaie3d280f2015-02-17 21:46:37 +010079source "sound/hda/Kconfig"
80
Linus Torvalds1da177e2005-04-16 15:20:36 -070081source "sound/ppc/Kconfig"
82
Johannes Bergf3d94782006-06-21 15:42:43 +020083source "sound/aoa/Kconfig"
84
Linus Torvalds1da177e2005-04-16 15:20:36 -070085source "sound/arm/Kconfig"
86
Hans-Christian Egtvedt6c7578b2009-02-05 13:11:01 +010087source "sound/atmel/Kconfig"
88
Hans-Christian Egtvedt3b0a8992007-07-23 15:52:42 +020089source "sound/spi/Kconfig"
Hans-Christian Egtvedt3b0a8992007-07-23 15:52:42 +020090
Linus Torvalds1da177e2005-04-16 15:20:36 -070091source "sound/mips/Kconfig"
92
Adrian McMenamin198de432007-05-18 14:26:59 +020093source "sound/sh/Kconfig"
94
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +010095# the following will depend on the order of config.
Linus Torvalds1da177e2005-04-16 15:20:36 -070096# here assuming USB is defined before ALSA
97source "sound/usb/Kconfig"
98
Clemens Ladisch31ef9132011-03-15 07:53:21 +010099source "sound/firewire/Kconfig"
100
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100101# the following will depend on the order of config.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102# here assuming PCMCIA is defined before ALSA
103source "sound/pcmcia/Kconfig"
104
105source "sound/sparc/Kconfig"
106
107source "sound/parisc/Kconfig"
108
Liam Girdwooda3288172006-10-06 18:33:55 +0200109source "sound/soc/Kconfig"
110
Jerome Anand287599c2017-01-25 04:27:51 +0530111source "sound/x86/Kconfig"
112
Takashi Iwai82721152017-06-09 14:57:51 +0200113source "sound/synth/Kconfig"
114
Takashi Iwai89fe5112008-05-23 16:10:37 +0200115endif # SND
Linus Torvalds1da177e2005-04-16 15:20:36 -0700116
Takashi Iwai89fe5112008-05-23 16:10:37 +0200117menuconfig SOUND_PRIME
Linus Torvalds1da177e2005-04-16 15:20:36 -0700118 tristate "Open Sound System (DEPRECATED)"
Tejun Heod886e872008-08-28 16:42:51 +0200119 select SOUND_OSS_CORE
Takashi Iwai31cbee62017-05-11 11:14:45 +0200120 depends on BROKEN
Linus Torvalds1da177e2005-04-16 15:20:36 -0700121 help
122 Say 'Y' or 'M' to enable Open Sound System drivers.
123
Takashi Iwai89fe5112008-05-23 16:10:37 +0200124if SOUND_PRIME
125
Linus Torvalds1da177e2005-04-16 15:20:36 -0700126source "sound/oss/Kconfig"
127
Takashi Iwai89fe5112008-05-23 16:10:37 +0200128endif # SOUND_PRIME
Linus Torvalds1da177e2005-04-16 15:20:36 -0700129
Takashi Iwai29b59b32017-05-16 10:42:04 +0200130endif # !UML
Linus Torvalds1da177e2005-04-16 15:20:36 -0700131
Takashi Iwai8a656492008-09-06 11:43:41 +0200132endif # SOUND
133
134# AC97_BUS is used from both sound and ucb1400
Nicolas Pitree1036502006-12-12 13:32:29 -0500135config AC97_BUS
136 tristate
137 help
138 This is used to avoid config and link hard dependencies between the
139 sound subsystem and other function drivers completely unrelated to
140 sound although they're sharing the AC97 bus. Concerned drivers
141 should "select" this.