Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 menuconfig SOUND
0003         tristate "Sound card support"
0004         depends on HAS_IOMEM
0005         help
0006           If you have a sound card in your computer, i.e. if it can say more
0007           than an occasional beep, say Y.
0008 
0009 if SOUND
0010 
0011 config SOUND_OSS_CORE
0012         bool
0013         default n
0014 
0015 config SOUND_OSS_CORE_PRECLAIM
0016         bool "Preclaim OSS device numbers"
0017         depends on SOUND_OSS_CORE
0018         default y
0019         help
0020           With this option enabled, the kernel will claim all OSS device
0021           numbers if any OSS support (native or emulation) is enabled
0022           whether the respective module is loaded or not and try to load the
0023           appropriate module using sound-slot/service-* and char-major-*
0024           module aliases when one of the device numbers is opened.  With
0025           this option disabled, kernel will only claim actually in-use
0026           device numbers and opening a missing device will generate only the
0027           standard char-major-* aliases.
0028 
0029           The only visible difference is use of additional module aliases
0030           and whether OSS sound devices appear multiple times in
0031           /proc/devices.  sound-slot/service-* module aliases are scheduled
0032           to be removed (ie. PRECLAIM won't be available) and this option is
0033           to make the transition easier.  This option can be overridden
0034           during boot using the kernel parameter soundcore.preclaim_oss.
0035 
0036           Disabling this allows alternative OSS implementations.
0037 
0038           If unsure, say Y.
0039 
0040 source "sound/oss/dmasound/Kconfig"
0041 
0042 if !UML
0043 
0044 menuconfig SND
0045         tristate "Advanced Linux Sound Architecture"
0046         help
0047           Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
0048           the new base sound system.
0049 
0050           For more information, see <http://www.alsa-project.org/>
0051 
0052 if SND
0053 
0054 source "sound/core/Kconfig"
0055 
0056 source "sound/drivers/Kconfig"
0057 
0058 source "sound/isa/Kconfig"
0059 
0060 source "sound/pci/Kconfig"
0061 
0062 source "sound/hda/Kconfig"
0063 
0064 source "sound/ppc/Kconfig"
0065 
0066 source "sound/ac97/Kconfig"
0067 
0068 source "sound/aoa/Kconfig"
0069 
0070 source "sound/arm/Kconfig"
0071 
0072 source "sound/atmel/Kconfig"
0073 
0074 source "sound/spi/Kconfig"
0075 
0076 source "sound/mips/Kconfig"
0077 
0078 source "sound/sh/Kconfig"
0079 
0080 # the following will depend on the order of config.
0081 # here assuming USB is defined before ALSA
0082 source "sound/usb/Kconfig"
0083 
0084 source "sound/firewire/Kconfig"
0085 
0086 # the following will depend on the order of config.
0087 # here assuming PCMCIA is defined before ALSA
0088 source "sound/pcmcia/Kconfig"
0089 
0090 source "sound/sparc/Kconfig"
0091 
0092 source "sound/parisc/Kconfig"
0093 
0094 source "sound/soc/Kconfig"
0095 
0096 source "sound/x86/Kconfig"
0097 
0098 source "sound/synth/Kconfig"
0099 
0100 source "sound/xen/Kconfig"
0101 
0102 source "sound/virtio/Kconfig"
0103 
0104 endif # SND
0105 
0106 endif # !UML
0107 
0108 endif # SOUND
0109 
0110 # AC97_BUS is used from both sound and ucb1400
0111 config AC97_BUS
0112         tristate
0113         help
0114           This is used to avoid config and link hard dependencies between the
0115           sound subsystem and other function drivers completely unrelated to
0116           sound although they're sharing the AC97 bus. Concerned drivers
0117           should "select" this.