Kconfig 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. # sound/Config.in
  2. #
  3. menuconfig SOUND
  4. tristate "Sound card support"
  5. depends on HAS_IOMEM
  6. help
  7. If you have a sound card in your computer, i.e. if it can say more
  8. than an occasional beep, say Y. Be sure to have all the information
  9. about your sound card and its configuration down (I/O port,
  10. interrupt and DMA channel), because you will be asked for it.
  11. You want to read the Sound-HOWTO, available from
  12. <http://www.tldp.org/docs.html#howto>. General information about
  13. the modular sound system is contained in the files
  14. <file:Documentation/sound/oss/Introduction>. The file
  15. <file:Documentation/sound/oss/README.OSS> contains some slightly
  16. outdated but still useful information as well. Newer sound
  17. driver documentation is found in <file:Documentation/sound/alsa/*>.
  18. If you have a PnP sound card and you want to configure it at boot
  19. time using the ISA PnP tools (read
  20. <http://www.roestock.demon.co.uk/isapnptools/>), then you need to
  21. compile the sound card support as a module and load that module
  22. after the PnP configuration is finished. To do this, choose M here
  23. and read <file:Documentation/sound/oss/README.modules>; the module
  24. will be called soundcore.
  25. if SOUND
  26. config SOUND_OSS_CORE
  27. bool
  28. default n
  29. config SOUND_OSS_CORE_PRECLAIM
  30. bool "Preclaim OSS device numbers"
  31. depends on SOUND_OSS_CORE
  32. default y
  33. help
  34. With this option enabled, the kernel will claim all OSS device
  35. numbers if any OSS support (native or emulation) is enabled
  36. whether the respective module is loaded or not and try to load the
  37. appropriate module using sound-slot/service-* and char-major-*
  38. module aliases when one of the device numbers is opened. With
  39. this option disabled, kernel will only claim actually in-use
  40. device numbers and opening a missing device will generate only the
  41. standard char-major-* aliases.
  42. The only visible difference is use of additional module aliases
  43. and whether OSS sound devices appear multiple times in
  44. /proc/devices. sound-slot/service-* module aliases are scheduled
  45. to be removed (ie. PRECLAIM won't be available) and this option is
  46. to make the transition easier. This option can be overridden
  47. during boot using the kernel parameter soundcore.preclaim_oss.
  48. Disabling this allows alternative OSS implementations.
  49. Please read Documentation/feature-removal-schedule.txt for
  50. details.
  51. If unusre, say Y.
  52. source "sound/oss/dmasound/Kconfig"
  53. if !M68K
  54. menuconfig SND
  55. tristate "Advanced Linux Sound Architecture"
  56. help
  57. Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
  58. the new base sound system.
  59. For more information, see <http://www.alsa-project.org/>
  60. if SND
  61. source "sound/core/Kconfig"
  62. source "sound/drivers/Kconfig"
  63. source "sound/isa/Kconfig"
  64. source "sound/pci/Kconfig"
  65. source "sound/ppc/Kconfig"
  66. source "sound/aoa/Kconfig"
  67. source "sound/arm/Kconfig"
  68. source "sound/atmel/Kconfig"
  69. source "sound/spi/Kconfig"
  70. source "sound/mips/Kconfig"
  71. source "sound/sh/Kconfig"
  72. # the following will depend on the order of config.
  73. # here assuming USB is defined before ALSA
  74. source "sound/usb/Kconfig"
  75. # the following will depend on the order of config.
  76. # here assuming PCMCIA is defined before ALSA
  77. source "sound/pcmcia/Kconfig"
  78. source "sound/sparc/Kconfig"
  79. source "sound/parisc/Kconfig"
  80. source "sound/soc/Kconfig"
  81. endif # SND
  82. menuconfig SOUND_PRIME
  83. tristate "Open Sound System (DEPRECATED)"
  84. select SOUND_OSS_CORE
  85. help
  86. Say 'Y' or 'M' to enable Open Sound System drivers.
  87. if SOUND_PRIME
  88. source "sound/oss/Kconfig"
  89. endif # SOUND_PRIME
  90. endif # !M68K
  91. endif # SOUND
  92. # AC97_BUS is used from both sound and ucb1400
  93. config AC97_BUS
  94. tristate
  95. help
  96. This is used to avoid config and link hard dependencies between the
  97. sound subsystem and other function drivers completely unrelated to
  98. sound although they're sharing the AC97 bus. Concerned drivers
  99. should "select" this.