blob: 439e15c8faa3d5f3ee7ef3b101bd9933c6ac6140 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# sound/Config.in
2#
3
Takashi Iwai89fe5112008-05-23 16:10:37 +02004menuconfig SOUND
Linus Torvalds1da177e2005-04-16 15:20:36 -07005 tristate "Sound card support"
Takashi Iwai89fe5112008-05-23 16:10:37 +02006 depends on HAS_IOMEM
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 help
8 If you have a sound card in your computer, i.e. if it can say more
9 than an occasional beep, say Y. Be sure to have all the information
10 about your sound card and its configuration down (I/O port,
11 interrupt and DMA channel), because you will be asked for it.
12
13 You want to read the Sound-HOWTO, available from
14 <http://www.tldp.org/docs.html#howto>. General information about
15 the modular sound system is contained in the files
16 <file:Documentation/sound/oss/Introduction>. The file
17 <file:Documentation/sound/oss/README.OSS> contains some slightly
18 outdated but still useful information as well. Newer sound
19 driver documentation is found in <file:Documentation/sound/alsa/*>.
20
21 If you have a PnP sound card and you want to configure it at boot
22 time using the ISA PnP tools (read
23 <http://www.roestock.demon.co.uk/isapnptools/>), then you need to
24 compile the sound card support as a module and load that module
25 after the PnP configuration is finished. To do this, choose M here
26 and read <file:Documentation/sound/oss/README.modules>; the module
27 will be called soundcore.
28
Takashi Iwai89fe5112008-05-23 16:10:37 +020029if SOUND
30
Tejun Heod886e872008-08-28 16:42:51 +020031config SOUND_OSS_CORE
32 bool
33 default n
34
Tejun Heo93fe4482009-08-06 18:14:26 +090035config SOUND_OSS_CORE_PRECLAIM
36 bool "Preclaim OSS device numbers"
37 depends on SOUND_OSS_CORE
38 default y
39 help
40 With this option enabled, the kernel will claim all OSS device
41 numbers if any OSS support (native or emulation) is enabled
42 whether the respective module is loaded or not and try to load the
43 appropriate module using sound-slot/service-* and char-major-*
44 module aliases when one of the device numbers is opened. With
45 this option disabled, kernel will only claim actually in-use
46 device numbers and opening a missing device will generate only the
47 standard char-major-* aliases.
48
49 The only visible difference is use of additional module aliases
50 and whether OSS sound devices appear multiple times in
51 /proc/devices. sound-slot/service-* module aliases are scheduled
52 to be removed (ie. PRECLAIM won't be available) and this option is
53 to make the transition easier. This option can be overridden
54 during boot using the kernel parameter soundcore.preclaim_oss.
55
56 Disabling this allows alternative OSS implementations.
57
58 Please read Documentation/feature-removal-schedule.txt for
59 details.
60
61 If unusre, say Y.
62
Linus Torvalds1da177e2005-04-16 15:20:36 -070063source "sound/oss/dmasound/Kconfig"
64
65if !M68K
66
Takashi Iwai89fe5112008-05-23 16:10:37 +020067menuconfig SND
Linus Torvalds1da177e2005-04-16 15:20:36 -070068 tristate "Advanced Linux Sound Architecture"
Takashi Iwai23854c32005-05-24 15:22:40 +020069 help
70 Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
71 the new base sound system.
72
Takashi Iwai9baf6502005-05-24 17:27:00 +020073 For more information, see <http://www.alsa-project.org/>
Linus Torvalds1da177e2005-04-16 15:20:36 -070074
Takashi Iwai89fe5112008-05-23 16:10:37 +020075if SND
76
Linus Torvalds1da177e2005-04-16 15:20:36 -070077source "sound/core/Kconfig"
78
79source "sound/drivers/Kconfig"
80
81source "sound/isa/Kconfig"
82
83source "sound/pci/Kconfig"
84
85source "sound/ppc/Kconfig"
86
Johannes Bergf3d94782006-06-21 15:42:43 +020087source "sound/aoa/Kconfig"
88
Linus Torvalds1da177e2005-04-16 15:20:36 -070089source "sound/arm/Kconfig"
90
Hans-Christian Egtvedt6c7578b2009-02-05 13:11:01 +010091source "sound/atmel/Kconfig"
92
Hans-Christian Egtvedt3b0a8992007-07-23 15:52:42 +020093source "sound/spi/Kconfig"
Hans-Christian Egtvedt3b0a8992007-07-23 15:52:42 +020094
Linus Torvalds1da177e2005-04-16 15:20:36 -070095source "sound/mips/Kconfig"
96
Adrian McMenamin198de432007-05-18 14:26:59 +020097source "sound/sh/Kconfig"
98
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +010099# the following will depend on the order of config.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100# here assuming USB is defined before ALSA
101source "sound/usb/Kconfig"
102
Matt LaPlante3cb2fcc2006-11-30 05:22:59 +0100103# the following will depend on the order of config.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700104# here assuming PCMCIA is defined before ALSA
105source "sound/pcmcia/Kconfig"
106
107source "sound/sparc/Kconfig"
108
109source "sound/parisc/Kconfig"
110
Liam Girdwooda3288172006-10-06 18:33:55 +0200111source "sound/soc/Kconfig"
112
Takashi Iwai89fe5112008-05-23 16:10:37 +0200113endif # SND
Linus Torvalds1da177e2005-04-16 15:20:36 -0700114
Takashi Iwai89fe5112008-05-23 16:10:37 +0200115menuconfig SOUND_PRIME
Linus Torvalds1da177e2005-04-16 15:20:36 -0700116 tristate "Open Sound System (DEPRECATED)"
Tejun Heod886e872008-08-28 16:42:51 +0200117 select SOUND_OSS_CORE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700118 help
119 Say 'Y' or 'M' to enable Open Sound System drivers.
120
Takashi Iwai89fe5112008-05-23 16:10:37 +0200121if SOUND_PRIME
122
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123source "sound/oss/Kconfig"
124
Takashi Iwai89fe5112008-05-23 16:10:37 +0200125endif # SOUND_PRIME
Linus Torvalds1da177e2005-04-16 15:20:36 -0700126
Takashi Iwai89fe5112008-05-23 16:10:37 +0200127endif # !M68K
Linus Torvalds1da177e2005-04-16 15:20:36 -0700128
Takashi Iwai8a656492008-09-06 11:43:41 +0200129endif # SOUND
130
131# AC97_BUS is used from both sound and ucb1400
Nicolas Pitree1036502006-12-12 13:32:29 -0500132config AC97_BUS
133 tristate
134 help
135 This is used to avoid config and link hard dependencies between the
136 sound subsystem and other function drivers completely unrelated to
137 sound although they're sharing the AC97 bus. Concerned drivers
138 should "select" this.
139