Kconfig 2.8 KB

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