113 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2menuconfig SOUND3 tristate "Sound card support"4 depends on HAS_IOMEM || INDIRECT_IOMEM5 help6 If you have a sound card in your computer, i.e. if it can say more7 than an occasional beep, say Y.8 9if SOUND10 11config SOUND_OSS_CORE12 bool13 default n14 15config SOUND_OSS_CORE_PRECLAIM16 bool "Preclaim OSS device numbers"17 depends on SOUND_OSS_CORE18 default y19 help20 With this option enabled, the kernel will claim all OSS device21 numbers if any OSS support (native or emulation) is enabled22 whether the respective module is loaded or not and try to load the23 appropriate module using sound-slot/service-* and char-major-*24 module aliases when one of the device numbers is opened. With25 this option disabled, kernel will only claim actually in-use26 device numbers and opening a missing device will generate only the27 standard char-major-* aliases.28 29 The only visible difference is use of additional module aliases30 and whether OSS sound devices appear multiple times in31 /proc/devices. sound-slot/service-* module aliases are scheduled32 to be removed (ie. PRECLAIM won't be available) and this option is33 to make the transition easier. This option can be overridden34 during boot using the kernel parameter soundcore.preclaim_oss.35 36 Disabling this allows alternative OSS implementations.37 38 If unsure, say Y.39 40source "sound/oss/dmasound/Kconfig"41 42menuconfig SND43 tristate "Advanced Linux Sound Architecture"44 help45 Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),46 the new base sound system.47 48 For more information, see <http://www.alsa-project.org/>49 50if SND51 52source "sound/core/Kconfig"53 54source "sound/drivers/Kconfig"55 56source "sound/isa/Kconfig"57 58source "sound/pci/Kconfig"59 60source "sound/hda/Kconfig"61 62source "sound/ppc/Kconfig"63 64source "sound/ac97/Kconfig"65 66source "sound/aoa/Kconfig"67 68source "sound/arm/Kconfig"69 70source "sound/atmel/Kconfig"71 72source "sound/spi/Kconfig"73 74source "sound/mips/Kconfig"75 76source "sound/sh/Kconfig"77 78# the following will depend on the order of config.79# here assuming USB is defined before ALSA80source "sound/usb/Kconfig"81 82source "sound/firewire/Kconfig"83 84# the following will depend on the order of config.85# here assuming PCMCIA is defined before ALSA86source "sound/pcmcia/Kconfig"87 88source "sound/sparc/Kconfig"89 90source "sound/parisc/Kconfig"91 92source "sound/soc/Kconfig"93 94source "sound/x86/Kconfig"95 96source "sound/synth/Kconfig"97 98source "sound/xen/Kconfig"99 100source "sound/virtio/Kconfig"101 102endif # SND103 104endif # SOUND105 106config AC97_BUS107 tristate108 help109 This is used to avoid config and link hard dependencies between the110 sound subsystem and other function drivers completely unrelated to111 sound although they're sharing the AC97 bus. Concerned drivers112 should "select" this.113