Merge branch 'master' into for-next
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / sound / oss / Kconfig
CommitLineData
1da177e4
LT
1# 18 Apr 1998, Michael Elizabeth Chastain, <mailto:mec@shout.net>
2# More hacking for modularisation.
3#
4# Prompt user for primary drivers.
cecd1ca0 5
1da177e4
LT
6config SOUND_BCM_CS4297A
7 tristate "Crystal Sound CS4297a (for Swarm)"
72860b0f 8 depends on SIBYTE_SWARM
1da177e4
LT
9 help
10 The BCM91250A has a Crystal CS4297a on synchronous serial
11 port B (in addition to the DB-9 serial port). Say Y or M
12 here to enable the sound chip instead of the UART. Also
13 note that CONFIG_KGDB should not be enabled at the same
14 time, since it also attempts to use this UART port.
15
1da177e4
LT
16config SOUND_VWSND
17 tristate "SGI Visual Workstation Sound"
72860b0f 18 depends on X86_VISWS
1da177e4
LT
19 help
20 Say Y or M if you have an SGI Visual Workstation and you want to be
21 able to use its on-board audio. Read
22 <file:Documentation/sound/oss/vwsnd> for more info on this driver's
23 capabilities.
24
1da177e4
LT
25config SOUND_MSNDCLAS
26 tristate "Support for Turtle Beach MultiSound Classic, Tahiti, Monterey"
72860b0f 27 depends on (m || !STANDALONE) && ISA
1da177e4
LT
28 help
29 Say M here if you have a Turtle Beach MultiSound Classic, Tahiti or
30 Monterey (not for the Pinnacle or Fiji).
31
32 See <file:Documentation/sound/oss/MultiSound> for important information
33 about this driver. Note that it has been discontinued, but the
34 Voyetra Turtle Beach knowledge base entry for it is still available
35 at <http://www.turtlebeach.com/site/kb_ftp/790.asp>.
36
37comment "Compiled-in MSND Classic support requires firmware during compilation."
38 depends on SOUND_PRIME && SOUND_MSNDCLAS=y
39
40config MSNDCLAS_HAVE_BOOT
41 bool
42 depends on SOUND_MSNDCLAS=y && !STANDALONE
43 default y
44
45config MSNDCLAS_INIT_FILE
46 string "Full pathname of MSNDINIT.BIN firmware file"
47 depends on SOUND_MSNDCLAS
48 default "/etc/sound/msndinit.bin"
49 help
50 The MultiSound cards have two firmware files which are required for
51 operation, and are not currently included. These files can be
52 obtained from Turtle Beach. See
53 <file:Documentation/sound/oss/MultiSound> for information on how to
54 obtain this.
55
56config MSNDCLAS_PERM_FILE
57 string "Full pathname of MSNDPERM.BIN firmware file"
58 depends on SOUND_MSNDCLAS
59 default "/etc/sound/msndperm.bin"
60 help
61 The MultiSound cards have two firmware files which are required for
62 operation, and are not currently included. These files can be
63 obtained from Turtle Beach. See
64 <file:Documentation/sound/oss/MultiSound> for information on how to
65 obtain this.
66
67config MSNDCLAS_IRQ
68 int "MSND Classic IRQ 5, 7, 9, 10, 11, 12"
69 depends on SOUND_MSNDCLAS=y
70 default "5"
71 help
72 Interrupt Request line for the MultiSound Classic and related cards.
73
74config MSNDCLAS_MEM
75 hex "MSND Classic memory B0000, C8000, D0000, D8000, E0000, E8000"
76 depends on SOUND_MSNDCLAS=y
77 default "D0000"
78 help
79 Memory-mapped I/O base address for the MultiSound Classic and
80 related cards.
81
82config MSNDCLAS_IO
83 hex "MSND Classic I/O 210, 220, 230, 240, 250, 260, 290, 3E0"
84 depends on SOUND_MSNDCLAS=y
85 default "290"
86 help
87 I/O port address for the MultiSound Classic and related cards.
88
89config SOUND_MSNDPIN
90 tristate "Support for Turtle Beach MultiSound Pinnacle, Fiji"
72860b0f 91 depends on (m || !STANDALONE) && ISA
1da177e4
LT
92 help
93 Say M here if you have a Turtle Beach MultiSound Pinnacle or Fiji.
94 See <file:Documentation/sound/oss/MultiSound> for important information
95 about this driver. Note that it has been discontinued, but the
96 Voyetra Turtle Beach knowledge base entry for it is still available
97 at <http://www.turtlebeach.com/site/kb_ftp/600.asp>.
98
99comment "Compiled-in MSND Pinnacle support requires firmware during compilation."
100 depends on SOUND_PRIME && SOUND_MSNDPIN=y
101
102config MSNDPIN_HAVE_BOOT
103 bool
104 depends on SOUND_MSNDPIN=y
105 default y
106
107config MSNDPIN_INIT_FILE
108 string "Full pathname of PNDSPINI.BIN firmware file"
109 depends on SOUND_MSNDPIN
110 default "/etc/sound/pndspini.bin"
111 help
112 The MultiSound cards have two firmware files which are required
113 for operation, and are not currently included. These files can be
114 obtained from Turtle Beach. See
115 <file:Documentation/sound/oss/MultiSound> for information on how to
116 obtain this.
117
118config MSNDPIN_PERM_FILE
119 string "Full pathname of PNDSPERM.BIN firmware file"
120 depends on SOUND_MSNDPIN
121 default "/etc/sound/pndsperm.bin"
122 help
123 The MultiSound cards have two firmware files which are required for
124 operation, and are not currently included. These files can be
125 obtained from Turtle Beach. See
126 <file:Documentation/sound/oss/MultiSound> for information on how to
127 obtain this.
128
129config MSNDPIN_IRQ
130 int "MSND Pinnacle IRQ 5, 7, 9, 10, 11, 12"
131 depends on SOUND_MSNDPIN=y
132 default "5"
133 help
134 Interrupt request line for the primary synthesizer on MultiSound
135 Pinnacle and Fiji sound cards.
136
137config MSNDPIN_MEM
138 hex "MSND Pinnacle memory B0000, C8000, D0000, D8000, E0000, E8000"
139 depends on SOUND_MSNDPIN=y
140 default "D0000"
141 help
142 Memory-mapped I/O base address for the primary synthesizer on
143 MultiSound Pinnacle and Fiji sound cards.
144
145config MSNDPIN_IO
146 hex "MSND Pinnacle I/O 210, 220, 230, 240, 250, 260, 290, 3E0"
147 depends on SOUND_MSNDPIN=y
148 default "290"
149 help
150 Memory-mapped I/O base address for the primary synthesizer on
151 MultiSound Pinnacle and Fiji sound cards.
152
153config MSNDPIN_DIGITAL
154 bool "MSND Pinnacle has S/PDIF I/O"
155 depends on SOUND_MSNDPIN=y
156 help
157 If you have the S/PDIF daughter board for the Pinnacle or Fiji,
158 answer Y here; otherwise, say N. If you have this, you will be able
159 to play and record from the S/PDIF port (digital signal). See
160 <file:Documentation/sound/oss/MultiSound> for information on how to make
161 use of this capability.
162
163config MSNDPIN_NONPNP
164 bool "MSND Pinnacle non-PnP Mode"
165 depends on SOUND_MSNDPIN=y
166 help
167 The Pinnacle and Fiji card resources can be configured either with
168 PnP, or through a configuration port. Say Y here if your card is NOT
169 in PnP mode. For the Pinnacle, configuration in non-PnP mode allows
170 use of the IDE and joystick peripherals on the card as well; these
171 do not show up when the card is in PnP mode. Specifying zero for any
172 resource of a device will disable the device. If you are running the
173 card in PnP mode, you must say N here and use isapnptools to
174 configure the card's resources.
175
176comment "MSND Pinnacle DSP section will be configured to above parameters."
72860b0f 177 depends on SOUND_MSNDPIN=y && MSNDPIN_NONPNP
1da177e4
LT
178
179config MSNDPIN_CFG
180 hex "MSND Pinnacle config port 250,260,270"
181 depends on MSNDPIN_NONPNP
182 default "250"
183 help
184 This is the port which the Pinnacle and Fiji uses to configure the
185 card's resources when not in PnP mode. If your card is in PnP mode,
186 then be sure to say N to the previous option, "MSND Pinnacle Non-PnP
187 Mode".
188
189comment "Pinnacle-specific Device Configuration (0 disables)"
72860b0f 190 depends on SOUND_MSNDPIN=y && MSNDPIN_NONPNP
1da177e4
LT
191
192config MSNDPIN_MPU_IO
193 hex "MSND Pinnacle MPU I/O (e.g. 330)"
194 depends on MSNDPIN_NONPNP
195 default "0"
196 help
197 Memory-mapped I/O base address for the Kurzweil daughterboard
198 synthesizer on MultiSound Pinnacle and Fiji sound cards.
199
200config MSNDPIN_MPU_IRQ
201 int "MSND Pinnacle MPU IRQ (e.g. 9)"
202 depends on MSNDPIN_NONPNP
203 default "0"
204 help
205 Interrupt request number for the Kurzweil daughterboard
206 synthesizer on MultiSound Pinnacle and Fiji sound cards.
207
208config MSNDPIN_IDE_IO0
209 hex "MSND Pinnacle IDE I/O 0 (e.g. 170)"
210 depends on MSNDPIN_NONPNP
211 default "0"
212 help
213 CD-ROM drive 0 memory-mapped I/O base address for the MultiSound
214 Pinnacle and Fiji sound cards.
215
216config MSNDPIN_IDE_IO1
217 hex "MSND Pinnacle IDE I/O 1 (e.g. 376)"
218 depends on MSNDPIN_NONPNP
219 default "0"
220 help
221 CD-ROM drive 1 memory-mapped I/O base address for the MultiSound
222 Pinnacle and Fiji sound cards.
223
224config MSNDPIN_IDE_IRQ
225 int "MSND Pinnacle IDE IRQ (e.g. 15)"
226 depends on MSNDPIN_NONPNP
227 default "0"
228 help
229 Interrupt request number for the IDE CD-ROM interface on the
230 MultiSound Pinnacle and Fiji sound cards.
231
232config MSNDPIN_JOYSTICK_IO
233 hex "MSND Pinnacle joystick I/O (e.g. 200)"
234 depends on MSNDPIN_NONPNP
235 default "0"
236 help
237 Memory-mapped I/O base address for the joystick port on MultiSound
238 Pinnacle and Fiji sound cards.
239
240config MSND_FIFOSIZE
241 int "MSND buffer size (kB)"
72860b0f 242 depends on SOUND_MSNDPIN=y || SOUND_MSNDCLAS=y
1da177e4
LT
243 default "128"
244 help
245 Configures the size of each audio buffer, in kilobytes, for
246 recording and playing in the MultiSound drivers (both the Classic
247 and Pinnacle). Larger values reduce the chance of data overruns at
248 the expense of overall latency. If unsure, use the default.
249
72860b0f 250menuconfig SOUND_OSS
1da177e4 251 tristate "OSS sound modules"
72860b0f 252 depends on ISA_DMA_API && VIRT_TO_BUS
1da177e4
LT
253 help
254 OSS is the Open Sound System suite of sound card drivers. They make
255 sound programming easier since they provide a common API. Say Y or
256 M here (the module will be called sound) if you haven't found a
257 driver for your sound card above, then pick your driver from the
258 list below.
259
72860b0f
TI
260if SOUND_OSS
261
1da177e4
LT
262config SOUND_TRACEINIT
263 bool "Verbose initialisation"
1da177e4
LT
264 help
265 Verbose soundcard initialization -- affects the format of autoprobe
266 and initialization messages at boot time.
267
268config SOUND_DMAP
269 bool "Persistent DMA buffers"
1da177e4
LT
270 ---help---
271 Linux can often have problems allocating DMA buffers for ISA sound
272 cards on machines with more than 16MB of RAM. This is because ISA
273 DMA buffers must exist below the 16MB boundary and it is quite
274 possible that a large enough free block in this region cannot be
275 found after the machine has been running for a while. If you say Y
276 here the DMA buffers (64Kb) will be allocated at boot time and kept
277 until the shutdown. This option is only useful if you said Y to
278 "OSS sound modules", above. If you said M to "OSS sound modules"
279 then you can get the persistent DMA buffer functionality by passing
280 the command-line argument "dmabuf=1" to the sound module.
281
282 Say Y unless you have 16MB or more RAM or a PCI sound card.
283
1da177e4
LT
284config SOUND_VMIDI
285 tristate "Loopback MIDI device support"
1da177e4
LT
286 help
287 Support for MIDI loopback on port 1 or 2.
288
289config SOUND_TRIX
290 tristate "MediaTrix AudioTrix Pro support"
1da177e4
LT
291 help
292 Answer Y if you have the AudioTriX Pro sound card manufactured
293 by MediaTrix.
294
295config TRIX_HAVE_BOOT
296 bool "Have TRXPRO.HEX firmware file"
297 depends on SOUND_TRIX=y && !STANDALONE
298 help
299 The MediaTrix AudioTrix Pro has an on-board microcontroller which
300 needs to be initialized by downloading the code from the file
301 TRXPRO.HEX in the DOS driver directory. If you don't have the
302 TRXPRO.HEX file handy you may skip this step. However, the SB and
303 MPU-401 modes of AudioTrix Pro will not work without this file!
304
305config TRIX_BOOT_FILE
306 string "Full pathname of TRXPRO.HEX firmware file"
307 depends on TRIX_HAVE_BOOT
308 default "/etc/sound/trxpro.hex"
309 help
310 Enter the full pathname of your TRXPRO.HEX file, starting from /.
311
312config SOUND_MSS
313 tristate "Microsoft Sound System support"
1da177e4
LT
314 ---help---
315 Again think carefully before answering Y to this question. It's
316 safe to answer Y if you have the original Windows Sound System card
317 made by Microsoft or Aztech SG 16 Pro (or NX16 Pro). Also you may
318 say Y in case your card is NOT among these:
319
320 ATI Stereo F/X, AdLib, Audio Excell DSP16, Cardinal DSP16,
321 Ensoniq SoundScape (and compatibles made by Reveal and Spea),
322 Gravis Ultrasound, Gravis Ultrasound ACE, Gravis Ultrasound Max,
323 Gravis Ultrasound with 16 bit option, Logitech Sound Man 16,
324 Logitech SoundMan Games, Logitech SoundMan Wave, MAD16 Pro (OPTi
325 82C929), Media Vision Jazz16, MediaTriX AudioTriX Pro, Microsoft
326 Windows Sound System (MSS/WSS), Mozart (OAK OTI-601), Orchid
327 SW32, Personal Sound System (PSS), Pro Audio Spectrum 16, Pro
328 Audio Studio 16, Pro Sonic 16, Roland MPU-401 MIDI interface,
329 Sound Blaster 1.0, Sound Blaster 16, Sound Blaster 16ASP, Sound
330 Blaster 2.0, Sound Blaster AWE32, Sound Blaster Pro, TI TM4000M
331 notebook, ThunderBoard, Turtle Beach Tropez, Yamaha FM
332 synthesizers (OPL2, OPL3 and OPL4), 6850 UART MIDI Interface.
333
334 For cards having native support in VoxWare, consult the card
335 specific instructions in <file:Documentation/sound/oss/README.OSS>.
336 Some drivers have their own MSS support and saying Y to this option
337 will cause a conflict.
338
339 If you compile the driver into the kernel, you have to add
340 "ad1848=<io>,<irq>,<dma>,<dma2>[,<type>]" to the kernel command
341 line.
342
343config SOUND_MPU401
344 tristate "MPU-401 support (NOT for SB16)"
1da177e4
LT
345 ---help---
346 Be careful with this question. The MPU401 interface is supported by
347 all sound cards. However, some natively supported cards have their
348 own driver for MPU401. Enabling this MPU401 option with these cards
349 will cause a conflict. Also, enabling MPU401 on a system that
350 doesn't really have a MPU401 could cause some trouble. If your card
351 was in the list of supported cards, look at the card specific
352 instructions in the <file:Documentation/sound/oss/README.OSS> file. It
353 is safe to answer Y if you have a true MPU401 MIDI interface card.
354
355 If you compile the driver into the kernel, you have to add
356 "mpu401=<io>,<irq>" to the kernel command line.
357
1da177e4
LT
358config SOUND_PAS
359 tristate "ProAudioSpectrum 16 support"
1da177e4
LT
360 ---help---
361 Answer Y only if you have a Pro Audio Spectrum 16, ProAudio Studio
362 16 or Logitech SoundMan 16 sound card. Answer N if you have some
363 other card made by Media Vision or Logitech since those are not
364 PAS16 compatible. Please read <file:Documentation/sound/oss/PAS16>.
365 It is not necessary to add Sound Blaster support separately; it
366 is included in PAS support.
367
368 If you compile the driver into the kernel, you have to add
369 "pas2=<io>,<irq>,<dma>,<dma2>,<sbio>,<sbirq>,<sbdma>,<sbdma2>
370 to the kernel command line.
371
372config PAS_JOYSTICK
373 bool "Enable PAS16 joystick port"
374 depends on SOUND_PAS=y
375 help
376 Say Y here to enable the Pro Audio Spectrum 16's auxiliary joystick
377 port.
378
379config SOUND_PSS
380 tristate "PSS (AD1848, ADSP-2115, ESC614) support"
1da177e4
LT
381 help
382 Answer Y or M if you have an Orchid SW32, Cardinal DSP16, Beethoven
383 ADSP-16 or some other card based on the PSS chipset (AD1848 codec +
384 ADSP-2115 DSP chip + Echo ESC614 ASIC CHIP). For more information on
385 how to compile it into the kernel or as a module see the file
386 <file:Documentation/sound/oss/PSS>.
387
388 If you compile the driver into the kernel, you have to add
389 "pss=<io>,<mssio>,<mssirq>,<mssdma>,<mpuio>,<mpuirq>" to the kernel
390 command line.
391
392config PSS_MIXER
44c09201 393 bool "Enable PSS mixer (Beethoven ADSP-16 and other compatible)"
1da177e4
LT
394 depends on SOUND_PSS
395 help
396 Answer Y for Beethoven ADSP-16. You may try to say Y also for other
397 cards if they have master volume, bass, treble, and you can't
398 control it under Linux. If you answer N for Beethoven ADSP-16, you
399 can't control master volume, bass, treble and synth volume.
400
401 If you said M to "PSS support" above, you may enable or disable this
402 PSS mixer with the module parameter pss_mixer. For more information
403 see the file <file:Documentation/sound/oss/PSS>.
404
405config PSS_HAVE_BOOT
406 bool "Have DSPxxx.LD firmware file"
407 depends on SOUND_PSS && !STANDALONE
408 help
409 If you have the DSPxxx.LD file or SYNTH.LD file for you card, say Y
410 to include this file. Without this file the synth device (OPL) may
411 not work.
412
413config PSS_BOOT_FILE
414 string "Full pathname of DSPxxx.LD firmware file"
415 depends on PSS_HAVE_BOOT
416 default "/etc/sound/dsp001.ld"
417 help
418 Enter the full pathname of your DSPxxx.LD file or SYNTH.LD file,
419 starting from /.
420
421config SOUND_SB
422 tristate "100% Sound Blaster compatibles (SB16/32/64, ESS, Jazz16) support"
1da177e4
LT
423 ---help---
424 Answer Y if you have an original Sound Blaster card made by Creative
425 Labs or a 100% hardware compatible clone (like the Thunderboard or
426 SM Games). For an unknown card you may answer Y if the card claims
427 to be Sound Blaster-compatible.
428
429 Please read the file <file:Documentation/sound/oss/Soundblaster>.
430
431 You should also say Y here for cards based on the Avance Logic
432 ALS-007 and ALS-1X0 chips (read <file:Documentation/sound/oss/ALS>) and
433 for cards based on ESS chips (read
434 <file:Documentation/sound/oss/ESS1868> and
435 <file:Documentation/sound/oss/ESS>). If you have an SB AWE 32 or SB AWE
436 64, say Y here and also to "AWE32 synth" below and read
437 <file:Documentation/sound/oss/INSTALL.awe>. If you have an IBM Mwave
438 card, say Y here and read <file:Documentation/sound/oss/mwave>.
439
440 If you compile the driver into the kernel and don't want to use
441 isapnp, you have to add "sb=<io>,<irq>,<dma>,<dma2>" to the kernel
442 command line.
443
444 You can say M here to compile this driver as a module; the module is
445 called sb.
446
1da177e4
LT
447config SOUND_YM3812
448 tristate "Yamaha FM synthesizer (YM3812/OPL-3) support"
1da177e4
LT
449 ---help---
450 Answer Y if your card has a FM chip made by Yamaha (OPL2/OPL3/OPL4).
451 Answering Y is usually a safe and recommended choice, however some
452 cards may have software (TSR) FM emulation. Enabling FM support with
453 these cards may cause trouble (I don't currently know of any such
454 cards, however). Please read the file
455 <file:Documentation/sound/oss/OPL3> if your card has an OPL3 chip.
456
457 If you compile the driver into the kernel, you have to add
458 "opl3=<io>" to the kernel command line.
459
460 If unsure, say Y.
461
1da177e4
LT
462config SOUND_UART6850
463 tristate "6850 UART support"
1da177e4
LT
464 help
465 This option enables support for MIDI interfaces based on the 6850
466 UART chip. This interface is rarely found on sound cards. It's safe
467 to answer N to this question.
468
469 If you compile the driver into the kernel, you have to add
470 "uart6850=<io>,<irq>" to the kernel command line.
471
472config SOUND_AEDSP16
473 tristate "Gallant Audio Cards (SC-6000 and SC-6600 based)"
1da177e4
LT
474 ---help---
475 Answer Y if you have a Gallant's Audio Excel DSP 16 card. This
476 driver supports Audio Excel DSP 16 but not the III nor PnP versions
477 of this card.
478
479 The Gallant's Audio Excel DSP 16 card can emulate either an SBPro or
480 a Microsoft Sound System card, so you should have said Y to either
481 "100% Sound Blaster compatibles (SB16/32/64, ESS, Jazz16) support"
482 or "Microsoft Sound System support", above, and you need to answer
483 the "MSS emulation" and "SBPro emulation" questions below
484 accordingly. You should say Y to one and only one of these two
485 questions.
486
487 Read the <file:Documentation/sound/oss/README.OSS> file and the head of
889c94a1 488 <file:sound/oss/aedsp16.c> as well as
1da177e4
LT
489 <file:Documentation/sound/oss/AudioExcelDSP16> to get more information
490 about this driver and its configuration.
491
492config SC6600
493 bool "SC-6600 based audio cards (new Audio Excel DSP 16)"
494 depends on SOUND_AEDSP16
495 help
496 The SC6600 is the new version of DSP mounted on the Audio Excel DSP
497 16 cards. Find in the manual the FCC ID of your audio card and
498 answer Y if you have an SC6600 DSP.
499
500config SC6600_JOY
501 bool "Activate SC-6600 Joystick Interface"
502 depends on SC6600
503 help
504 Say Y here in order to use the joystick interface of the Audio Excel
505 DSP 16 card.
506
507config SC6600_CDROM
508 int "SC-6600 CDROM Interface (4=None, 3=IDE, 1=Panasonic, 0=?Sony?)"
509 depends on SC6600
510 default "4"
511 help
512 This is used to activate the CD-ROM interface of the Audio Excel
513 DSP 16 card. Enter: 0 for Sony, 1 for Panasonic, 2 for IDE, 4 for no
514 CD-ROM present.
515
516config SC6600_CDROMBASE
517 hex "SC-6600 CDROM Interface I/O Address"
518 depends on SC6600
519 default "0"
520 help
521 Base I/O port address for the CD-ROM interface of the Audio Excel
522 DSP 16 card.
523
1da177e4
LT
524config SOUND_VIDC
525 tristate "VIDC 16-bit sound"
72860b0f 526 depends on ARM && (ARCH_ACORN || ARCH_CLPS7500)
1da177e4
LT
527 help
528 16-bit support for the VIDC onboard sound hardware found on Acorn
529 machines.
530
531config SOUND_WAVEARTIST
532 tristate "Netwinder WaveArtist"
72860b0f 533 depends on ARM && ARCH_NETWINDER
1da177e4
LT
534 help
535 Say Y here to include support for the Rockwell WaveArtist sound
536 system. This driver is mainly for the NetWinder.
537
1da177e4
LT
538config SOUND_KAHLUA
539 tristate "XpressAudio Sound Blaster emulation"
540 depends on SOUND_SB
541
72860b0f
TI
542endif # SOUND_OSS
543