Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/usb

Module Name:    src
Committed By:   mrg
Date:           Thu Nov 24 22:12:52 UTC 2011

Modified Files:
        src/sys/dev/usb: umidi.c umidivar.h

Log Message:
several steps towards making umidi appear to work:

- split out_solicit() into locked and unlocked front end, and use the
  unlocked version from the softintr

- kill sc_intr_lock, midi doesn't really use it (XXX finish this?
  change this? in the midi* code)

- convert tsleep()/wakeup() to cv

- move some free's out of the lock

- KASSERT() lock is held in a few more places


- malloc -> kmem

- crashes in midiclose(), doesn't actually play things to the right
  device.  "midiplay -d midi1 -xv" plays out my midi@pcppi speaker,
  and then the above crash.  clearly something is calling the wrong
  sub-device callbacks!

To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/sys/dev/usb/umidi.c
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/usb/umidivar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index