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