CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/05/16 03:56:10
Modified files:
sys/dev : midi.c midivar.h
Log message:
Use device_lookup() instead of digging into midi_cd.cd_devs[] and
maintaining a "dying" flag which is already present in the device
structure. As a side-effect, this adds the missing refcounting
that mididetach() was missing. With from mpi@ and dlg@
ok mpi
