Linux Audio

Check our new training course

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