^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) menuconfig SOUND
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) tristate "Sound card support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) If you have a sound card in your computer, i.e. if it can say more
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) than an occasional beep, say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) if SOUND
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) config SOUND_OSS_CORE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) config SOUND_OSS_CORE_PRECLAIM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) bool "Preclaim OSS device numbers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) depends on SOUND_OSS_CORE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) With this option enabled, the kernel will claim all OSS device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) numbers if any OSS support (native or emulation) is enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) whether the respective module is loaded or not and try to load the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) appropriate module using sound-slot/service-* and char-major-*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) module aliases when one of the device numbers is opened. With
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) this option disabled, kernel will only claim actually in-use
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) device numbers and opening a missing device will generate only the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) standard char-major-* aliases.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) The only visible difference is use of additional module aliases
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) and whether OSS sound devices appear multiple times in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) /proc/devices. sound-slot/service-* module aliases are scheduled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) to be removed (ie. PRECLAIM won't be available) and this option is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) to make the transition easier. This option can be overridden
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) during boot using the kernel parameter soundcore.preclaim_oss.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) Disabling this allows alternative OSS implementations.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) If unsure, say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) source "sound/oss/dmasound/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) if !UML
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) menuconfig SND
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) tristate "Advanced Linux Sound Architecture"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) the new base sound system.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) For more information, see <http://www.alsa-project.org/>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) if SND
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) source "sound/core/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) source "sound/drivers/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) source "sound/isa/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) source "sound/pci/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) source "sound/hda/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) source "sound/ppc/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) source "sound/ac97/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) source "sound/aoa/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) source "sound/arm/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) source "sound/atmel/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) source "sound/spi/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) source "sound/mips/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) source "sound/sh/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) # the following will depend on the order of config.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) # here assuming USB is defined before ALSA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) source "sound/usb/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) source "sound/firewire/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) # the following will depend on the order of config.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) # here assuming PCMCIA is defined before ALSA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) source "sound/pcmcia/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) source "sound/sparc/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) source "sound/parisc/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) source "sound/soc/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) source "sound/x86/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) source "sound/synth/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) source "sound/xen/Kconfig"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) endif # SND
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) endif # !UML
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) endif # SOUND
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) # AC97_BUS is used from both sound and ucb1400
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) config AC97_BUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) This is used to avoid config and link hard dependencies between the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) sound subsystem and other function drivers completely unrelated to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) sound although they're sharing the AC97 bus. Concerned drivers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) should "select" this.