summaryrefslogtreecommitdiff
path: root/sys/dev/midi.c
AgeCommit message (Expand)Author
2022-07-02Remove unused device poll functions.Visa Hankala
2022-04-06constify struct cfattachChristian Weisgerber
2022-03-21Constify struct {audio,midi,radio,video}_hw_if. No functional change.Miod Vallat
2021-10-30Fix build break caused by accidental keystroke during last commitAlexandre Ratchov
2021-10-30Disestablish softintrs upon detach (missed in last commit)Alexandre Ratchov
2021-10-30Defer selwakeup() calls to a softintrAlexandre Ratchov
2021-10-29Don't grab audio_lock in filt_midi{read,write} if NOTE_SUBMIT is set.Alexandre Ratchov
2020-12-25Refactor klist insertion and removalVisa Hankala
2020-04-07Abstract the head of knote lists. This allows extending the lists,Visa Hankala
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowVisa Hankala
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala
2019-12-22midi(4): *sleep(9) -> *sleep_nsec(9)cheloha
2017-07-19Remove SIGIO support. The audio(4) driver doesn't implement it either andMark Kettenis
2017-01-03No need to include sys/malloc.h. From Michael W. Bombardieri. Thanks.Alexandre Ratchov
2016-12-20In midiread() and midiwrite(), add a second goto label toAlexandre Ratchov
2015-05-22Don't use an uninitialised softc pointer in midiread/midiwrite.Jonathan Gray
2015-05-16Use device_lookup() instead of digging into midi_cd.cd_devs[] andAlexandre Ratchov
2015-05-12remove the sc->isopen flag, as sc->flags already hold theAlexandre Ratchov
2015-05-12store byte count in a size_t and switch from uiomovei() to uiomove()Alexandre Ratchov
2015-05-12Remove unused code & definitions: midi_attach(), midi_unit_count(),Alexandre Ratchov
2015-05-12Don't hold the audio mutex when calling uiomove(), as uiomove()Alexandre Ratchov
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-10First step towards making uiomove() take a size_t size argument:Miod Vallat
2014-10-09no need for lkmTed Unangst
2014-09-14remove uneeded proc.h includesJonathan Gray
2013-05-15Introduce a global interrupt-aware mutex protecting dataAlexandre Ratchov
2013-03-15Delete the sequencer(4) driver, since its not used any longer. DiffAlexandre Ratchov
2012-04-17Output interrupts are raised when the uart is ready for output, whichAlexandre Ratchov
2012-03-30If the MIDI UART is not ready for output, don't spin at IPL_CLOCK;Alexandre Ratchov
2011-07-02kqueue attach functions should return an errno or 0, not a plain 1. FixNicholas Marriott
2011-01-27while closing the device, don't sleep with the PCATCH flag, otherwiseAlexandre Ratchov
2011-01-01fix spacingAlexandre Ratchov
2010-11-18Don'tMiod Vallat
2010-04-08remove unneeded variable. ratchov@ okFederico G. Schwindt
2009-11-09Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tNicholas Marriott
2009-11-01kqueue support for midi(4).Nicholas Marriott
2009-10-30KNOTE() after selwakeup()Theo de Raadt
2009-08-17remove prototype of non-existent midi_get_hwif()Alexandre Ratchov
2009-07-18While detatching the device, workaround the case when a midiAlexandre Ratchov
2006-12-21'tranfer' -> 'transfer' in comments.Kenneth R Westerback
2006-11-01poll errors should be POLLERR, not some random E valueTed Unangst
2006-04-16Handle input interrupts in a better manner.Jonathan Gray
2006-04-07Add optional flush method to MIDI hardware interface.Jonathan Gray
2004-09-22the following patch fixes a bug preventing midi uarts that doTheo de Raadt
2004-09-21re-add RCS id after last commitBrad Smith
2004-06-27better midi stuff from alex@caoua.orgTheo de Raadt
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-01-10return ENOTTY not EINVAL in default: in *ioctl()Michael Shalayeff
2001-03-23fix compiling in audio-less configsMichael Shalayeff