mrg da22dd8a36 various umidi clean ups:
- move the contents of umidi{reg,var}.h into umidi.c directly as they
  are not referenced by any other file.
- remove the useless include of umidi{reg,var}.h from umidi_quirks.c.
- add reference counting and wait/broadcast support to the IO paths.
- fix the error handling in midi_attach() and midi_open().
- sprinkle KASSERT() in several places.
- drop the local interrupt lock before calling into various parts of
  the USB code.  fixes lockdebug issues, and likely hangs.
- rename "binded" member as "bound".

with these most of the panics and problems i've seen are gone.  there
is still one lockdebug panic to deal with that happens when unplugging
umidi while midiplay(1) is running.
2014-12-21 23:00:35 +00:00
..
2014-12-21 23:00:35 +00:00
2014-11-21 09:40:10 +00:00
2014-12-21 23:00:35 +00:00
2014-12-21 23:00:35 +00:00
2014-12-17 10:02:46 +00:00
2014-12-17 10:02:46 +00:00