Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Takashi Iwai | 89fe511 | 2008-05-23 16:10:37 +0200 | [diff] [blame] | 2 | menuconfig SOUND |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | tristate "Sound card support" |
Takashi Iwai | 89fe511 | 2008-05-23 16:10:37 +0200 | [diff] [blame] | 4 | depends on HAS_IOMEM |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | help |
| 6 | If you have a sound card in your computer, i.e. if it can say more |
Takashi Iwai | 727dede | 2017-10-24 09:15:23 +0200 | [diff] [blame] | 7 | than an occasional beep, say Y. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | |
Takashi Iwai | 89fe511 | 2008-05-23 16:10:37 +0200 | [diff] [blame] | 9 | if SOUND |
| 10 | |
Tejun Heo | d886e87 | 2008-08-28 16:42:51 +0200 | [diff] [blame] | 11 | config SOUND_OSS_CORE |
| 12 | bool |
| 13 | default n |
| 14 | |
Tejun Heo | 93fe448 | 2009-08-06 18:14:26 +0900 | [diff] [blame] | 15 | config 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 Rosa | af901ca | 2009-11-14 13:09:05 -0200 | [diff] [blame] | 38 | If unsure, say Y. |
Tejun Heo | 93fe448 | 2009-08-06 18:14:26 +0900 | [diff] [blame] | 39 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 40 | source "sound/oss/dmasound/Kconfig" |
| 41 | |
Takashi Iwai | 29b59b3 | 2017-05-16 10:42:04 +0200 | [diff] [blame] | 42 | if !UML |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 43 | |
Takashi Iwai | 89fe511 | 2008-05-23 16:10:37 +0200 | [diff] [blame] | 44 | menuconfig SND |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 45 | tristate "Advanced Linux Sound Architecture" |
Takashi Iwai | 23854c3 | 2005-05-24 15:22:40 +0200 | [diff] [blame] | 46 | help |
| 47 | Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture), |
| 48 | the new base sound system. |
| 49 | |
Takashi Iwai | 9baf650 | 2005-05-24 17:27:00 +0200 | [diff] [blame] | 50 | For more information, see <http://www.alsa-project.org/> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | |
Takashi Iwai | 89fe511 | 2008-05-23 16:10:37 +0200 | [diff] [blame] | 52 | if SND |
| 53 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 54 | source "sound/core/Kconfig" |
| 55 | |
| 56 | source "sound/drivers/Kconfig" |
| 57 | |
| 58 | source "sound/isa/Kconfig" |
| 59 | |
| 60 | source "sound/pci/Kconfig" |
| 61 | |
Takashi Iwai | e3d280f | 2015-02-17 21:46:37 +0100 | [diff] [blame] | 62 | source "sound/hda/Kconfig" |
| 63 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 64 | source "sound/ppc/Kconfig" |
| 65 | |
Robert Jarzmik | 8d43344 | 2017-09-02 21:54:05 +0200 | [diff] [blame] | 66 | source "sound/ac97/Kconfig" |
| 67 | |
Johannes Berg | f3d9478 | 2006-06-21 15:42:43 +0200 | [diff] [blame] | 68 | source "sound/aoa/Kconfig" |
| 69 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 70 | source "sound/arm/Kconfig" |
| 71 | |
Hans-Christian Egtvedt | 6c7578b | 2009-02-05 13:11:01 +0100 | [diff] [blame] | 72 | source "sound/atmel/Kconfig" |
| 73 | |
Hans-Christian Egtvedt | 3b0a899 | 2007-07-23 15:52:42 +0200 | [diff] [blame] | 74 | source "sound/spi/Kconfig" |
Hans-Christian Egtvedt | 3b0a899 | 2007-07-23 15:52:42 +0200 | [diff] [blame] | 75 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 76 | source "sound/mips/Kconfig" |
| 77 | |
Adrian McMenamin | 198de43 | 2007-05-18 14:26:59 +0200 | [diff] [blame] | 78 | source "sound/sh/Kconfig" |
| 79 | |
Matt LaPlante | 3cb2fcc | 2006-11-30 05:22:59 +0100 | [diff] [blame] | 80 | # the following will depend on the order of config. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 81 | # here assuming USB is defined before ALSA |
| 82 | source "sound/usb/Kconfig" |
| 83 | |
Clemens Ladisch | 31ef913 | 2011-03-15 07:53:21 +0100 | [diff] [blame] | 84 | source "sound/firewire/Kconfig" |
| 85 | |
Matt LaPlante | 3cb2fcc | 2006-11-30 05:22:59 +0100 | [diff] [blame] | 86 | # the following will depend on the order of config. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 87 | # here assuming PCMCIA is defined before ALSA |
| 88 | source "sound/pcmcia/Kconfig" |
| 89 | |
| 90 | source "sound/sparc/Kconfig" |
| 91 | |
| 92 | source "sound/parisc/Kconfig" |
| 93 | |
Liam Girdwood | a328817 | 2006-10-06 18:33:55 +0200 | [diff] [blame] | 94 | source "sound/soc/Kconfig" |
| 95 | |
Jerome Anand | 287599c | 2017-01-25 04:27:51 +0530 | [diff] [blame] | 96 | source "sound/x86/Kconfig" |
| 97 | |
Takashi Iwai | 8272115 | 2017-06-09 14:57:51 +0200 | [diff] [blame] | 98 | source "sound/synth/Kconfig" |
| 99 | |
Oleksandr Andrushchenko | cc3196ae1 | 2018-05-14 09:27:37 +0300 | [diff] [blame] | 100 | source "sound/xen/Kconfig" |
| 101 | |
Anton Yakovlev | de3a9980 | 2021-03-02 17:47:02 +0100 | [diff] [blame] | 102 | source "sound/virtio/Kconfig" |
| 103 | |
Takashi Iwai | 89fe511 | 2008-05-23 16:10:37 +0200 | [diff] [blame] | 104 | endif # SND |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 105 | |
Takashi Iwai | 29b59b3 | 2017-05-16 10:42:04 +0200 | [diff] [blame] | 106 | endif # !UML |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 107 | |
Takashi Iwai | 8a65649 | 2008-09-06 11:43:41 +0200 | [diff] [blame] | 108 | endif # SOUND |
| 109 | |
| 110 | # AC97_BUS is used from both sound and ucb1400 |
Nicolas Pitre | e103650 | 2006-12-12 13:32:29 -0500 | [diff] [blame] | 111 | config AC97_BUS |
| 112 | tristate |
| 113 | help |
| 114 | This is used to avoid config and link hard dependencies between the |
| 115 | sound subsystem and other function drivers completely unrelated to |
| 116 | sound although they're sharing the AC97 bus. Concerned drivers |
| 117 | should "select" this. |