xref: /linux/sound/Kconfig (revision 31cbee6a5611f07d2d66f55bb6f8648db5947e32)
189fe5117STakashi Iwaimenuconfig SOUND
21da177e4SLinus Torvalds	tristate "Sound card support"
389fe5117STakashi Iwai	depends on HAS_IOMEM
41da177e4SLinus Torvalds	help
51da177e4SLinus Torvalds	  If you have a sound card in your computer, i.e. if it can say more
61da177e4SLinus Torvalds	  than an occasional beep, say Y.  Be sure to have all the information
71da177e4SLinus Torvalds	  about your sound card and its configuration down (I/O port,
81da177e4SLinus Torvalds	  interrupt and DMA channel), because you will be asked for it.
91da177e4SLinus Torvalds
101da177e4SLinus Torvalds	  You want to read the Sound-HOWTO, available from
111da177e4SLinus Torvalds	  <http://www.tldp.org/docs.html#howto>. General information about
121da177e4SLinus Torvalds	  the modular sound system is contained in the files
131da177e4SLinus Torvalds	  <file:Documentation/sound/oss/Introduction>.  The file
141da177e4SLinus Torvalds	  <file:Documentation/sound/oss/README.OSS> contains some slightly
151da177e4SLinus Torvalds	  outdated but still useful information as well.  Newer sound
161da177e4SLinus Torvalds	  driver documentation is found in <file:Documentation/sound/alsa/*>.
171da177e4SLinus Torvalds
181da177e4SLinus Torvalds	  If you have a PnP sound card and you want to configure it at boot
191da177e4SLinus Torvalds	  time using the ISA PnP tools (read
201da177e4SLinus Torvalds	  <http://www.roestock.demon.co.uk/isapnptools/>), then you need to
211da177e4SLinus Torvalds	  compile the sound card support as a module and load that module
221da177e4SLinus Torvalds	  after the PnP configuration is finished.  To do this, choose M here
231da177e4SLinus Torvalds	  and read <file:Documentation/sound/oss/README.modules>; the module
241da177e4SLinus Torvalds	  will be called soundcore.
251da177e4SLinus Torvalds
2689fe5117STakashi Iwaiif SOUND
2789fe5117STakashi Iwai
28d886e87cSTejun Heoconfig SOUND_OSS_CORE
29d886e87cSTejun Heo	bool
30d886e87cSTejun Heo	default n
31d886e87cSTejun Heo
3293fe4483STejun Heoconfig SOUND_OSS_CORE_PRECLAIM
3393fe4483STejun Heo	bool "Preclaim OSS device numbers"
3493fe4483STejun Heo	depends on SOUND_OSS_CORE
3593fe4483STejun Heo	default y
3693fe4483STejun Heo	help
3793fe4483STejun Heo	  With this option enabled, the kernel will claim all OSS device
3893fe4483STejun Heo	  numbers if any OSS support (native or emulation) is enabled
3993fe4483STejun Heo	  whether the respective module is loaded or not and try to load the
4093fe4483STejun Heo	  appropriate module using sound-slot/service-* and char-major-*
4193fe4483STejun Heo	  module aliases when one of the device numbers is opened.  With
4293fe4483STejun Heo	  this option disabled, kernel will only claim actually in-use
4393fe4483STejun Heo	  device numbers and opening a missing device will generate only the
4493fe4483STejun Heo	  standard char-major-* aliases.
4593fe4483STejun Heo
4693fe4483STejun Heo	  The only visible difference is use of additional module aliases
4793fe4483STejun Heo	  and whether OSS sound devices appear multiple times in
4893fe4483STejun Heo	  /proc/devices.  sound-slot/service-* module aliases are scheduled
4993fe4483STejun Heo	  to be removed (ie. PRECLAIM won't be available) and this option is
5093fe4483STejun Heo	  to make the transition easier.  This option can be overridden
5193fe4483STejun Heo	  during boot using the kernel parameter soundcore.preclaim_oss.
5293fe4483STejun Heo
5393fe4483STejun Heo	  Disabling this allows alternative OSS implementations.
5493fe4483STejun Heo
55af901ca1SAndré Goddard Rosa	  If unsure, say Y.
5693fe4483STejun Heo
571da177e4SLinus Torvaldssource "sound/oss/dmasound/Kconfig"
581da177e4SLinus Torvalds
593369465eSAl Viroif !M68K && !UML
601da177e4SLinus Torvalds
6189fe5117STakashi Iwaimenuconfig SND
621da177e4SLinus Torvalds	tristate "Advanced Linux Sound Architecture"
6323854c30STakashi Iwai	help
6423854c30STakashi Iwai	  Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
6523854c30STakashi Iwai	  the new base sound system.
6623854c30STakashi Iwai
679baf6507STakashi Iwai	  For more information, see <http://www.alsa-project.org/>
681da177e4SLinus Torvalds
6989fe5117STakashi Iwaiif SND
7089fe5117STakashi Iwai
711da177e4SLinus Torvaldssource "sound/core/Kconfig"
721da177e4SLinus Torvalds
731da177e4SLinus Torvaldssource "sound/drivers/Kconfig"
741da177e4SLinus Torvalds
751da177e4SLinus Torvaldssource "sound/isa/Kconfig"
761da177e4SLinus Torvalds
771da177e4SLinus Torvaldssource "sound/pci/Kconfig"
781da177e4SLinus Torvalds
79e3d280fcSTakashi Iwaisource "sound/hda/Kconfig"
80e3d280fcSTakashi Iwai
811da177e4SLinus Torvaldssource "sound/ppc/Kconfig"
821da177e4SLinus Torvalds
83f3d9478bSJohannes Bergsource "sound/aoa/Kconfig"
84f3d9478bSJohannes Berg
851da177e4SLinus Torvaldssource "sound/arm/Kconfig"
861da177e4SLinus Torvalds
876c7578bbSHans-Christian Egtvedtsource "sound/atmel/Kconfig"
886c7578bbSHans-Christian Egtvedt
893b0a899cSHans-Christian Egtvedtsource "sound/spi/Kconfig"
903b0a899cSHans-Christian Egtvedt
911da177e4SLinus Torvaldssource "sound/mips/Kconfig"
921da177e4SLinus Torvalds
93198de43dSAdrian McMenaminsource "sound/sh/Kconfig"
94198de43dSAdrian McMenamin
953cb2fcccSMatt LaPlante# the following will depend on the order of config.
961da177e4SLinus Torvalds# here assuming USB is defined before ALSA
971da177e4SLinus Torvaldssource "sound/usb/Kconfig"
981da177e4SLinus Torvalds
9931ef9134SClemens Ladischsource "sound/firewire/Kconfig"
10031ef9134SClemens Ladisch
1013cb2fcccSMatt LaPlante# the following will depend on the order of config.
1021da177e4SLinus Torvalds# here assuming PCMCIA is defined before ALSA
1031da177e4SLinus Torvaldssource "sound/pcmcia/Kconfig"
1041da177e4SLinus Torvalds
1051da177e4SLinus Torvaldssource "sound/sparc/Kconfig"
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvaldssource "sound/parisc/Kconfig"
1081da177e4SLinus Torvalds
109a3288176SLiam Girdwoodsource "sound/soc/Kconfig"
110a3288176SLiam Girdwood
111287599cfSJerome Anandsource "sound/x86/Kconfig"
112287599cfSJerome Anand
11389fe5117STakashi Iwaiendif # SND
1141da177e4SLinus Torvalds
11589fe5117STakashi Iwaimenuconfig SOUND_PRIME
1161da177e4SLinus Torvalds	tristate "Open Sound System (DEPRECATED)"
117d886e87cSTejun Heo	select SOUND_OSS_CORE
118*31cbee6aSTakashi Iwai	depends on BROKEN
1191da177e4SLinus Torvalds	help
1201da177e4SLinus Torvalds	  Say 'Y' or 'M' to enable Open Sound System drivers.
1211da177e4SLinus Torvalds
12289fe5117STakashi Iwaiif SOUND_PRIME
12389fe5117STakashi Iwai
1241da177e4SLinus Torvaldssource "sound/oss/Kconfig"
1251da177e4SLinus Torvalds
12689fe5117STakashi Iwaiendif # SOUND_PRIME
1271da177e4SLinus Torvalds
12889fe5117STakashi Iwaiendif # !M68K
1291da177e4SLinus Torvalds
1308a656496STakashi Iwaiendif # SOUND
1318a656496STakashi Iwai
1328a656496STakashi Iwai# AC97_BUS is used from both sound and ucb1400
133e1036502SNicolas Pitreconfig AC97_BUS
134e1036502SNicolas Pitre	tristate
135e1036502SNicolas Pitre	help
136e1036502SNicolas Pitre	  This is used to avoid config and link hard dependencies between the
137e1036502SNicolas Pitre	  sound subsystem and other function drivers completely unrelated to
138e1036502SNicolas Pitre	  sound although they're sharing the AC97 bus. Concerned drivers
139e1036502SNicolas Pitre	  should "select" this.
140