Source-Changes archive

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

CVS commit: [chap-midi] src/sys/dev



Module Name:    src
Committed By:   chap
Date:           Sat May 20 03:27:32 UTC 2006

Modified Files:
        src/sys/dev [chap-midi]: midi.c midi_if.h midisyn.c midisynvar.h
            midivar.h sequencer.c sequencervar.h
        src/sys/dev/usb [chap-midi]: umidi.c umidivar.h

Log Message:
Active Sense now handled for receive as well as for transmit. Following the
spec, if no Active Sense is seen on receive, no special behavior applies,
but if an Active Sense is seen then any absence of received data exceeding
300ms thereafter will be signalled as a read EOF on the rmidi device.
Receipt of any further data will clear the EOF condition, and operation
resumes as if no Active Sense has been seen.

Also moved some selnotify's out of locks so they don't deadlock against
the corresponding kevent filters.

This concludes this round of midi hacking (except for possibly improving
the safety of how pending callouts and interrupts are canceled on device
detach. Other fixes/enhancements to the midi subsystems will get their
own patches.


To generate a diff of this commit:
cvs rdiff -r1.43.2.10 -r1.43.2.11 src/sys/dev/midi.c
cvs rdiff -r1.17.14.4 -r1.17.14.5 src/sys/dev/midi_if.h
cvs rdiff -r1.17.2.4 -r1.17.2.5 src/sys/dev/midisyn.c
cvs rdiff -r1.9.14.4 -r1.9.14.5 src/sys/dev/midisynvar.h
cvs rdiff -r1.11.14.10 -r1.11.14.11 src/sys/dev/midivar.h
cvs rdiff -r1.30.14.10 -r1.30.14.11 src/sys/dev/sequencer.c
cvs rdiff -r1.10.14.2 -r1.10.14.3 src/sys/dev/sequencervar.h
cvs rdiff -r1.25.2.6 -r1.25.2.7 src/sys/dev/usb/umidi.c
cvs rdiff -r1.8.14.4 -r1.8.14.5 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