| History log of /src/sys/dev/ic/oplvar.h |
| Revision | | Date | Author | Comments |
| 1.17 |
| 09-Apr-2012 |
plunky | Tidy up a little, the way that midi attachment code works
- change midi_attach() to omit the 'parent' arg (there are only two callers of this and it is not used)
- change midisyn_attach() to midisyn_init(), so not needing a midi_softc, and fix the midi_pcppi driver to set hw_if and hw_hdl directly in its midi_softc before calling midi_attach()
- add a device_t to opl_softc structure, change opl drivers to store the device 'self' in opl_softc and fix opl_attach() to use this opl_softc->dev field directly rather than a field in an otherwise unused midi_softc
- remove unnecessary midi_softc from opl and cms drivers (child device provides that)
reviewed by mrg
|
| 1.16 |
| 23-Nov-2011 |
jmcneill | branches: 1.16.2; Merge jmcneill-audiomp3 branch, which is derived from ad-audiomp2. From the original ad-audiomp branch notes:
Add MP locking to the audio drivers.
Making the audio drivers MP safe is necessary before efforts can be made to make the VM system MP safe.
The are two locks per device instance, an ISR lock and a character device lock. The ISR lock replaces calls to splaudio()/splx(), and will be held across calls to device methods which were called at splaudio() before (e.g. trigger_output). The character device lock is held across calls to nearly all of the methods, excluding some only used for initialization, e.g. get_locks.
Welcome to 5.99.57.
|
| 1.15 |
| 28-Apr-2008 |
martin | branches: 1.15.12; 1.15.34; 1.15.36; Remove clause 3 and 4 from TNF licenses
|
| 1.14 |
| 15-Mar-2008 |
cube | branches: 1.14.2; 1.14.4; Split device_t and softc for opl(4). That should have been done along with midi(4), because opl_softc embed a midi_softc. Fixes PR#38242 by Onno van der Linden.
|
| 1.13 |
| 30-Jun-2006 |
chap | branches: 1.13.30; 1.13.50; 1.13.54; Ankh-Morpork, we have a MIDI driver....
Merge from chap-midi branch, after ~month for review Comments by thorpej@ drochner@ and Alexandre Ratchov
Incorporated: points by thorpej@ drochner@; preliminary support for a stats-collecting ioctl suggested by martin@ from comments by A.R.
PR kern/32441 kern/32442 kern/32567 kern/32588 kern/32694 kern/33590 kern/33614 and one instance of kern/32651
ok martin@
|
| 1.12 |
| 09-Jun-2006 |
christos | branches: 1.12.2; stack police: Introduce an opl_match function that uses malloc instead of allocating ~2K of softc on the stack.
|
| 1.11 |
| 11-Dec-2005 |
christos | branches: 1.11.4; 1.11.8; 1.11.14; merge ktrace-lwp.
|
| 1.10 |
| 04-Feb-2005 |
perry | branches: 1.10.6; de-__P
|
| 1.9 |
| 04-Dec-2003 |
keihan | branches: 1.9.8; 1.9.10; netbsd.org -> NetBSD.org
This was the last commit of this kind to src/sys, which is now totally "NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
|
| 1.8 |
| 04-Nov-2001 |
itohy | branches: 1.8.16; Introduce "flags 1", which causes left and right channels swapped.
|
| 1.7 |
| 23-Oct-2001 |
itohy | branches: 1.7.2; Support panpot on OPL3. Now this device is a stereo instrument.
|
| 1.6 |
| 29-Sep-2001 |
augustss | Add a detach function (from Jared D. McNeill).
|
| 1.5 |
| 18-Jan-2001 |
jdolecek | branches: 1.5.2; 1.5.4; 1.5.6; constify
|
| 1.4 |
| 05-Oct-1999 |
itohy | branches: 1.4.2; Add power control hooks.
|
| 1.3 |
| 25-Nov-1998 |
augustss | Make the copyright header conform to the NetBSD template.
|
| 1.2 |
| 26-Aug-1998 |
augustss | Make the OPL driver turn on the sound on sound cards that require it. That makes it much more likely that we get any sound. DUH!
|
| 1.1 |
| 17-Aug-1998 |
augustss | * Redo the way the way the MIDI driver attaches to audio devices. * 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.
|
| 1.4.2.1 |
| 11-Feb-2001 |
bouyer | Sync with HEAD.
|
| 1.5.6.1 |
| 01-Oct-2001 |
fvdl | Catch up with -current.
|
| 1.5.4.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
| 1.5.2.2 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
| 1.5.2.1 |
| 08-Oct-2001 |
nathanw | Catch up to -current.
|
| 1.7.2.1 |
| 12-Nov-2001 |
thorpej | Sync the thorpej-mips-cache branch with -current.
|
| 1.8.16.4 |
| 04-Feb-2005 |
skrll | Sync with HEAD.
|
| 1.8.16.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.8.16.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.8.16.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.9.10.1 |
| 12-Feb-2005 |
yamt | sync with head.
|
| 1.9.8.1 |
| 29-Apr-2005 |
kent | sync with -current
|
| 1.10.6.3 |
| 17-Mar-2008 |
yamt | sync with head.
|
| 1.10.6.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
| 1.10.6.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
| 1.11.14.2 |
| 19-Jun-2006 |
chap | Sync with head.
|
| 1.11.14.1 |
| 08-Jun-2006 |
chap | Rototill of midisyn <-> synth driver i/f.
The DOALLOC and FREQXLATE flags are on the way out. Whether a driver wants allocation service is deducible from whether it provides an allocv method, and anyway none does. As for freq, they all get a miditune and can convert it whichever way they want.
Controller handling with midictl is hooked in but few controllers watched yet.
Some macros for manipulating the miditune type are currently in midisynvar.h but should perhaps be exported in midiio.h.
opl no longer has its own master volume state (there was no setter for it anyway, it never changed); soon that will be handled centrally in midisyn.
Builds a kernel. Not all functionality tested yet.
|
| 1.11.8.2 |
| 11-Aug-2006 |
yamt | sync with head
|
| 1.11.8.1 |
| 26-Jun-2006 |
yamt | sync with head.
|
| 1.11.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
| 1.12.2.1 |
| 13-Jul-2006 |
gdamore | Merge from HEAD.
|
| 1.13.54.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.13.54.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.13.50.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
| 1.13.30.1 |
| 23-Mar-2008 |
matt | sync with HEAD
|
| 1.14.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
| 1.14.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
| 1.15.36.1 |
| 19-Nov-2011 |
jmcneill | port ad-audiomp2 branch changes to 5.99.56 todo: - port ad-audiomp2 pcppi changes - these drivers need to be fixed: - emuxki - gcscaudio - hdafg - uaudio - umidi - MD audio drivers
|
| 1.15.34.1 |
| 17-Apr-2012 |
yamt | sync with head
|
| 1.15.12.1 |
| 09-Dec-2008 |
ad | Checkpoint work on MIDI.
|
| 1.16.2.1 |
| 29-Apr-2012 |
mrg | sync to latest -current.
|