summaryrefslogtreecommitdiff
path: root/sys/dev/isa/sbreg.h
AgeCommit message (Collapse)Author
2022-05-31fix various typos in comments, documentation and messages.andvar
2005-12-11merge ktrace-lwp.christos
2005-01-13ansify and KNFkent
1999-11-02Allow irq 15 since some clones use it.augustss
1999-03-22Several things:mycroft
* Rearrange the speed mapping table and adjust the code so that the highest rate can actually be used. Previously we ended up rounding up slightly lower speeds and then losing because set_params couldn't set the mode back to the current one. * Allow 260 as a valid I/O address, since the SB1 can be jumpered to this. * Change the MPU-401 code so it can be attached as a separate device. (XXX Really, the SB code ought to just attach a subdevice itself.) * Do not attach an OPL on the SB1. Writing to the OPL registers at SB_base+0 on this card wedges my machine. (XXX Should we access it at 388 instead? The Creative web site claims that this board *does* have an OPL2, but I haven't played with this extensively.) * Allocate the SB DMA channels at open time, rather than attach time, so that a single DRQ can be used for multiple cards (if only one is in use at a given time). (XXX Let me tell you why this is a horrible hack. If the ISA DMA code tries to allocate a bounce buffer after boot time, it will generally fail, because there is no contiguous memory below 16MB and the code to allocate contiguous pages doesn't know how to move things around. Now, we shouldn't ever be using bounce buffers here, because we use isa_dmamem_alloc(). So we just turn off BUS_DMA_ALLOCNOW and we don't actually try to. That's cool, and it even works, but isa_dmamem_alloc() has the same problem. It just happens that we allocate the ring buffers at boot time, and whenever we reallocate them (due to the buffer size changing), we just deallocated the previous (contiguous) buffer, so we get lucky. This is absolutely disgusting and needs to be fixed.)
1999-02-18Add separate halt_output and halt_input routines.mycroft
1998-08-17* Redo the way the way the MIDI driver attaches to audio devices.augustss
* Improve the midisyn layer a little. * Add a driver for the Yamaha OPL[23] FM synths. The opl driver is not finished yet; it sounds pretty awful. For some strange reason I cannot get any FM sound from my SB64 cards, but a regular SB16 works fine.
1998-08-07Add MIDI support. The MIDI devices can be accessed as ``raw'' throughaugustss
the /dev/rmidiN devices, or with a sequencer interface via /dev/music. So far the only supported MIDI device is the MPU401 port on SoundBlaster (and only on SB on isapnp, since we do not have locators with multiple values yet).
1997-08-24Give names to some more mixer registers.augustss
1997-08-11Round mixer values correctly when setting them.augustss
This is important for the OSS emulation since OSS uses a different range of values for the mixer.
1997-07-31Audio changes:augustss
- Change the way attach and open works to allow multiple audio devices. - Split the mulaw.c file into two to avoid dragging in mulaw convertsion when they are not needed. Add 16 bit alaw/mulaw tables. - Change the way audio properties are gotten. - Recognize more versions os SoundBlaster.
1997-05-23Redo the way selecting the mode for SB cards is done completely.augustss
It is now table driven since there are so many different variations of SB cards out there. Also fix a bug that stopped SB2 and SBPro from working.
1997-05-19Redo the SB mixer code. The driver can now distinguish between theaugustss
four different mixer options: none, CT1335, CT1345, and CT1745. It should now be possible to access most of the SB16 functionality.
1997-05-18Mask the level registers as the documentation suggests.augustss
1997-03-20Use autoinitialize DMA mode on the SB2 and later. Partly from Torsten Duwe.mycroft
1997-03-20Add 16-bit DRQ support on PnP, and enable 16-bit output.mycroft
1996-03-16add MediaVision Jazz16 chipset support. It must be configured withjtk
'flags 1' on the sb? kernel configuration file line (because it frobs a noncontiguous IO port to configure the Jazz16 extensions). Also, remove static sb_device structure and fill in user's buffer on each request.
1996-03-01Add support to the ISA DMA framework for auto-initialize mode.mycroft
Add experimental SB16 code, disabled for now.
1996-02-20Fix mono volume adjustment.mycroft
1996-02-18Add bass/treble input filter adjustment controls to SB (Pro) driverjtk
1995-05-08Remove stringsbrezak
1995-03-15fix compilation error. don't bother checking for IRQ2glass
1995-03-13Add IRQ 9 as a valid IRQbrezak
1995-03-08Cleanup for SB16 (From Jan Sparud)brezak
1995-02-28Use irq directly not as a maskbrezak
1995-02-21SoundBlaster driver for SB, SB16 and SBPRObrezak
1994-11-15Check IRQ 9, not IRQ 2.mycroft
1994-11-04Change all of the uses of IRQ{0-15} and bit masks to use plain numbersmycroft
rather than bit shifting.
1994-10-27new RCS ID format.cgd
1994-09-16Check the SB Pro IRQ and DRQ correctly. From Jason Thorpe.mycroft
1994-03-29Updates for new autoconfig.mycroft
1994-01-09LBL /dev/audio and soundblaster drivers, as ported by brad@fcr.com.cgd
both should work with both old- and new-config i386 trees. Some notes: bsd_audio.c has dependencies on the soundblaster. This should be fixed, so that it can be used for the PC speaker (when its driver has been modified), as well. sb.c needs some cleanup, and will have sections trimmed, eventually (when new config becomse standard for i386). additionally, the SBPro support needs some cleanup.