summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/sound/local.h
Commit message (Collapse)AuthorAgeFilesLines
* Put on my nuclear-grade asbestos suit and cvs rm the old, broken, soundpeter2000-10-021-195/+0
| | | | | | | | | | | drivers (again). These drivers have not compiled for 5-6 months. Now that the new sound code supports MIDI, the major reason we had for reviving it is gone. It is a far better investment polishing the new midi code than trying to keep this on life support. Come 5.0-REL, if there are major shortcomings in the pcm sound driver then maybe we can rethink this, but until then we should focus on pcm. Remember, these have not been compilable since ~April-May this year.
* Include nss.h only when PC98 is defined.kato1999-04-031-0/+2
| | | | Pointed out by: "Pierre Y. Dampure" <pierre.dampure@k2c.co.uk>
* o sys/i386/include/soundcard.hkato1999-04-021-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Sound Card ID for the nss(NEC PC-9801-86 Sound System) driver. Old name of this driver was pcm driver in FreeBSD 2.2.x. Fix lack of the length of the name member of the synth_info structure. (attach_mpu401 in sys/i386/isa/sound/mpu401.c requires 33 chars.) o sys/i386/isa/sound/dev_table.h Add the DMAbuf flags definition DMA_DISABLE. Add the nss driver entry. o sys/i386/isa/sound/dmabuf.c Add the DMA_DISABLE flag check in DMAbuf_outputintr and DMAbuf_inputintr to disable DMA control in FIFO only use (nss driver required). o sys/i386/isa/sound/local.h Add the nss driver entry. o sys/i386/isa/sound/mpu401.c Replace inb function in probe_mpu401 to mpu401_status macro. Wrap macro argument for above replace. Add I/O port maping macro for NEC PC-98x1 arch. Add delay in NEC PC-98x1 arch. o sys/i386/isa/sound/pcm86.c Change driver name to avoid name space conflict to new pcm driver. Fix NEC PC-9801-86 driver to work on RELENG_3 branch or latter. o sys/i386/isa/sound/sound_calls.h Fix the mpuintr definition. Add the nss driver entry. attach_nss, probe_nss, nssintr o sys/i386/isa/sound/soundcard.c Fix lack of the mpuintr registration. Add the nss driver entry. o sys/pc98/conf/files.pc98 Add the nss driver entry. Reviewed by: kato Submitted by: Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
* Part 2 of pcvt/voxware revival. I hope I have not clobbered any otherpeter1999-01-011-0/+188
| | | | | | | | | deltas, but it is possible since I had a few merge conflicts over the last few days while this has been sitting ready to go. (Part 1 was committed to the config files, but cvs aborted grrr..) Approved by: core
* Pre 3.0 branch cleanup sos#2: soundsos1998-12-271-188/+0
| | | | Superceded by the snd driver...
* document options to hardwire GUS irq/dmas...jmg1998-06-301-0/+3
|
* PC-98 does not supports DMA automode lager than 65535 bytes.kato1998-04-211-0/+4
|
* I've been using these tweaks to enable the sound driver to talk to thepeter1997-12-121-0/+7
| | | | | | | | | | | | | | | | | (mutant) Crystal CSS4236 chip on the Intel PR440FX SMP motherboard. XXX this uses some rather ugly PnP bootstrap code that is *NOT* compatable with 'controller pnp0' or *ANY* other PnP devices. If you use some other PnP devices, enabling css0 will burn your house down. :-] The "simplified" PnP init sequence directly blats your config(8) settings onto the chip. I'm pretty sure 'css0' will conflict with 'mss0', this whole area desperately needs a cleanup. I have been using the following with some success on the PR440FX: controller snd0 device css0 at isa? port 0x534 irq 5 drq 1 flags 0x08 vector adintr device opl0 at isa? port 0x388 device mpu0 at isa? port 0x330 irq 10 vector mpuintr
* Fix conflicts.markm1997-11-101-4/+7
|
* Upgrade the sound sources to Amancio Hasty's latest-and-greatest.markm1997-10-311-85/+118
| | | | | | This is based on Voxware 3.5, and corresponds to Amancio's `guspnp21'. Bug reports to Amancio, please!
* Break my own rule again - I didn't think this stuff was going to come backjkh1996-11-151-0/+5
| | | | | | | | | | | | with the copyright stuff fixed so soon (this should be merged into 2.2 when you have a chance, Poul). This is the new AWE32 driver, with support for the AWE32's fancy MIDI synthesizer. The utilities for this will appear as port submissions soon afterwards, according to the submitter. Submitted-By: Randall Hopper <rhh@ct.picker.com> Written-By: Takashi Iwai <iwai@dragon.mm.t.u-tokyo.ac.jp>
* Another round of resync and some added sound support.asami1996-11-131-0/+5
| | | | | | | | | | | | sys/pc98/i386/machdep.c: sync with i386/i386/machdep.c sys/pc98/conf/options.pc98: sync with i386/conf/options.i386 sys/i386/isa/sound: DMA auto initialize mode support for PC98. contributed by: Akio Morita <amorita@bird.scphys.kyoto-u.ac.jp> Definite 2.2 material, I believe. Submitted by: The FreeBSD (98) Development Team
* More merge and update.asami1996-10-301-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | (1) deleted #if 0 pc98/pc98/mse.c (2) hold per-unit I/O ports in ed_softc pc98/pc98/if_ed.c pc98/pc98/if_ed98.h (3) merge more files by segregating changes into headers. new file (moved from pc98/pc98): i386/isa/aic_98.h deleted: well, it's already in the commit message so I won't repeat the long list here ;) Submitted by: The FreeBSD(98) Development Team
* Updated #includes to 4.4lite style.bde1996-10-151-2/+2
|
* Backed out last change. It depends on the future change of addingbde1996-09-101-2/+2
| | | | | | | | | -I- to CFLAGS. <sb.h> must currently be used to give the version of sb.h in the current directory, while "sb.h" in the buggy version gave the (wrong) version in the source directory. Searching in the source directory first is normal, but is the reverse of the order suggested by the 4.4Lite2 #include style. -I- will remove the ambiguities.
* Updated #includes to 4.4Lite style.bde1996-09-101-2/+2
|
* Add NMSS to the list of things that local.h checks for when decdingwpaul1996-01-071-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | whether of not to automatically #define EXCLUDE_AUDIO; MSS is a real audio device and we should not #define EXCLUDE_AUDIO if we have one. (And I want it because it's the only mixer-capable audio driver that I can use with my crummy Packard Bell (nee Aztech) audio board.) This fixes the very confusing condition where having all of this: mss0 at 0x530 irq 10 drq 1 on isa gus0: <MS Sound System (CS4231)> opl0 at 0x388 on isa opl0: <Yamaha OPL-3 FM> mpu0 at 0x300 irq 9 drq 0 on isa mpu0: <MPU-401 MIDI Interface 0.0 > will still give you this: % cat /dev/sndstat SoundCard Error: The soundcard system has not been configured Also remove an unnecessary newline in the printf() message for the 'gus0' device shown above so that we don't wind up printing a blank line between mss0 and gus0.
* Jim's attempt to fix the new sound code somewhat. Tested withjkh1995-09-011-1/+1
| | | | | | the pas-16, GUS, and GUS-MAX cards. Sound blaster owners, please test also! Submitted by: Jim Lowe <james>
* Update the sound driver to VOXWARE 3.05 with one GUS patch fromjkh1995-07-281-9/+24
| | | | | | | | | | | | Amancio. There is some SoundSource support here that is primitive and probably doesn't work, but I'll let the two submitters let me know how my integration of that was since I don't have this card to test. I've only tested this on my GUS MAX since it's all I have. This all probably needs to be re-done anyway since we're widely variant from the original VOXWARE source in the current layout. Submitted by: Amancio Hasty and Jim Lowe Obtained from: Hannu Savolainen
* The address is freefall.cdrom.com, not freefall.cdrom.com.cdrom.com :-)gpalmer1995-04-291-1/+1
|
* Reorganize how sound devices are configured. Use a snd controllerswallace1995-03-121-71/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | with individual devices for each type of sound card: opl, sb, sbxvi, sbmidi, pas, mpu, gus, gusxvi, gusmax, mss, uart EXCLUDE_* options are no longer required to be included in the config file. They are automatically determined by local.h depending on the devices included. Move #includes in local.h to os.h so files are included in the proper order to avoid warnings. soundcard.c now has additional code to reflect the device driver routines needed. Define new EXCLUDE_SB16MIDI for use in sb16_midi.c and dev_table.h. #ifndef EXCLUDE_SEQUENCER or EXCLUDE_AUDIO have been added to soundcard.c and sound_switch.c where appropriate. Probe outputs changed to reflect new device names. Readme.freebsd not needed. Update sound.doc with new config instructions. Reviewed by: wollman
* Revert to earlier code which contains FreeBSD snd[1-7] probe information,swallace1995-03-051-6/+5
| | | | | | | | | | | | $Id$ information, and other code to make sound driver compile and work correctly with FreeBSD. Integrate changes obtained from Sujal Patel. These changes are: o local.h: reverse option logic from EXCLUDE_* to AUDIO_* o pas2_mixer.c: small addition o ad1848.c: minor change with macro names o sequencer.c: minor change with note check o many spelling corrections in comments in about every other file
* Have dmabuf.c match the roll-back in soundcard.c. We should be makingjkh1995-03-051-6/+0
| | | | | better noises again. Submitted by: Sujal Patel <smpatel@wam.umd.edu>
* Upgrade the sound drivers to VoxWare pre-3.0 and fix a number of bugs.jkh1995-03-041-6/+91
| | | | | | | | | Make the sound configuration a little neater (see /sys/i386/isa/sound/Readme.freebsd) Add support for the Microsoft Sound Source. Document the sound options again. Submitted by: Sujal Patel <smpatel@wam.umd.edu> Obtained from: Voxware
* DMA automode patch, fix SB16 clicksache1994-11-011-2/+1
| | | | Submitted by: tim@cs.city.ac.uk
* Merged in changes to Hannu Savolainen's VoxWare sound drivers, version 2.9.swallace1994-10-011-5/+12
|
* First round of changes to get the sound code working in 2.0.dg1994-09-271-1/+6
|
* Added $Id$dg1994-08-021-0/+3
|
* We don't have DMA automode, so correct all places to work withoutache1994-04-231-0/+1
| | | | it too.
* Additional changes for 2.5ache1994-04-231-4/+4
|
* Now SoundDriver use 64K DMA region instead of older 4K byache1994-04-131-1/+1
| | | | using new contigmalloc function.
* Integrated Hannu Savolainen's new VoxWare sound drivers, version 2.4.swallace1994-03-111-3/+7
| | | | These drivers now have full SoundBlaster 16 support.
* Direct #undefs removed to allow flexible manipulationache1993-11-281-13/+6
| | | | | via config options. Unneded #defines removed. Improved dependance of "snd.h" and NSND.
* Enable mpu401 driver.jkh1993-10-231-1/+1
|
* This is the Linux generic soundcard driver, version 1.0c. Supportsjkh1993-10-231-0/+17
SBlaster/Adlib/ProAudio Spectrum/Gravis/etc cards. This is a BETA test driver, please test it and get back to me!
OpenPOWER on IntegriCloud