Kconfig 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. menuconfig SOUND
  3. tristate "Sound card support"
  4. depends on HAS_IOMEM
  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. if !UML
  35. menuconfig SND
  36. tristate "Advanced Linux Sound Architecture"
  37. help
  38. Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
  39. the new base sound system.
  40. For more information, see <http://www.alsa-project.org/>
  41. if SND
  42. source "sound/core/Kconfig"
  43. source "sound/drivers/Kconfig"
  44. source "sound/isa/Kconfig"
  45. source "sound/pci/Kconfig"
  46. source "sound/hda/Kconfig"
  47. source "sound/ppc/Kconfig"
  48. source "sound/ac97/Kconfig"
  49. source "sound/aoa/Kconfig"
  50. source "sound/arm/Kconfig"
  51. source "sound/atmel/Kconfig"
  52. source "sound/spi/Kconfig"
  53. source "sound/mips/Kconfig"
  54. source "sound/sh/Kconfig"
  55. # the following will depend on the order of config.
  56. # here assuming USB is defined before ALSA
  57. source "sound/usb/Kconfig"
  58. source "sound/firewire/Kconfig"
  59. # the following will depend on the order of config.
  60. # here assuming PCMCIA is defined before ALSA
  61. source "sound/pcmcia/Kconfig"
  62. source "sound/sparc/Kconfig"
  63. source "sound/parisc/Kconfig"
  64. source "sound/soc/Kconfig"
  65. source "sound/x86/Kconfig"
  66. source "sound/synth/Kconfig"
  67. source "sound/xen/Kconfig"
  68. endif # SND
  69. endif # !UML
  70. endif # SOUND
  71. # AC97_BUS is used from both sound and ucb1400
  72. config AC97_BUS
  73. tristate
  74. help
  75. This is used to avoid config and link hard dependencies between the
  76. sound subsystem and other function drivers completely unrelated to
  77. sound although they're sharing the AC97 bus. Concerned drivers
  78. should "select" this.