Up to [local] / src / sys / dev
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.14 / (download) - annotate - [select for diffs], Tue Sep 26 19:55:24 2023 UTC (8 months, 2 weeks ago) by mvs
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
HEAD
Changes since 1.13: +3 -4 lines
Diff to previous 1.13 (colored)
Use existing `audio_lock' mutex(9) to make `midi{read,write}_filtops' MP safe. knote_locked(9) will not grab kernel lock, so call it directly from interrupt handlers instead of scheduling software interrupts. feedback and ok ratchov
Revision 1.13 / (download) - annotate - [select for diffs], Mon Mar 21 19:22:40 2022 UTC (2 years, 2 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)
Constify struct {audio,midi,radio,video}_hw_if. No functional change. ok mpi@ ratchov@ "More const is good" deraadt@
Revision 1.12 / (download) - annotate - [select for diffs], Sat Oct 30 12:26:26 2021 UTC (2 years, 7 months ago) by ratchov
Branch: MAIN
Changes since 1.11: +6 -5 lines
Diff to previous 1.11 (colored)
Defer selwakeup() calls to a softintr selwakeup() needs to be protected by KERNEL_LOCK, but we're not allowed to grab KERNEL_LOCK on interrupt context because midi runs at IPL_AUDIO with the audio_lock held. Furthermore, doing so is a locking order bug: syscall code-path grabs KERNEL_LOCK first while interrupt code-path does the opposite when calling selwakeup(). ok visa
Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 10 20:17:45 2020 UTC (4 years, 5 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored)
Remove unused MIDI_MAXWRITE macro
Revision 1.10 / (download) - annotate - [select for diffs], Wed Jul 19 22:23:54 2017 UTC (6 years, 10 months ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2
Changes since 1.9: +1 -2 lines
Diff to previous 1.9 (colored)
Remove SIGIO support. The audio(4) driver doesn't implement it either and the preferred method to access MIDI hardware is through sndiod(8) which doesn't use it. Fixes a potential issue with a stale struct proc pointer found by Ilja van Sprundel. ok deraadt@, ratchov@
Revision 1.9 / (download) - annotate - [select for diffs], Sat May 16 09:56:10 2015 UTC (9 years ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE,
OPENBSD_6_1,
OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9,
OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.8: +0 -3 lines
Diff to previous 1.8 (colored)
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
Revision 1.8 / (download) - annotate - [select for diffs], Tue May 12 18:39:30 2015 UTC (9 years, 1 month ago) by ratchov
Branch: MAIN
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)
remove the sc->isopen flag, as sc->flags already hold the same information.
Revision 1.7 / (download) - annotate - [select for diffs], Fri Mar 15 09:10:52 2013 UTC (11 years, 2 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE,
OPENBSD_5_7,
OPENBSD_5_6_BASE,
OPENBSD_5_6,
OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4
Changes since 1.6: +1 -14 lines
Diff to previous 1.6 (colored)
Delete the sequencer(4) driver, since its not used any longer. Diff mostly from armani. ok miod, mpi, jsg and help from sthen
Revision 1.6 / (download) - annotate - [select for diffs], Fri Mar 30 08:18:19 2012 UTC (12 years, 2 months ago) by ratchov
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (colored)
If the MIDI UART is not ready for output, don't spin at IPL_CLOCK; just return and make the midi(4) driver retry later. UART buffers are large enough for this, except eap(4) which uses interrupts for output. help from and ok jsg@
Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 21 18:16:38 2005 UTC (18 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8,
OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0,
OPENBSD_3_9_BASE,
OPENBSD_3_9
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)
Move contents of sys/select.h to sys/selinfo.h in preparation for a userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@.
Revision 1.4 / (download) - annotate - [select for diffs], Fri Oct 1 04:08:45 2004 UTC (19 years, 8 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7
Changes since 1.3: +2 -0 lines
Diff to previous 1.3 (colored)
add some missing $, ok djm@ 'That looks fine to me' millert@
Revision 1.3 / (download) - annotate - [select for diffs], Sun Jun 27 19:44:48 2004 UTC (19 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE,
OPENBSD_3_6
Changes since 1.2: +83 -77 lines
Diff to previous 1.2 (colored)
better midi stuff from alex@caoua.org
Revision 1.1.6.1 / (download) - annotate - [select for diffs], Mon May 14 22:23:02 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)
merge in approximately 2.9 into SMP branch
Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 26 22:43:22 2000 UTC (23 years, 11 months ago) by art
Branch: MAIN
CVS Tags: UBC_SYNC_B,
UBC_SYNC_A,
UBC_BASE,
UBC,
SMP_SYNC_B,
SMP_SYNC_A,
OPENBSD_3_5_BASE,
OPENBSD_3_5,
OPENBSD_3_4_BASE,
OPENBSD_3_4,
OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2,
OPENBSD_3_1_BASE,
OPENBSD_3_1,
OPENBSD_3_0_BASE,
OPENBSD_3_0,
OPENBSD_2_9_BASE,
OPENBSD_2_9,
OPENBSD_2_8_BASE,
OPENBSD_2_8
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)
Convert to new timeouts.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Jan 2 00:02:38 1999 UTC (25 years, 5 months ago) by niklas
Branch: MAIN
CVS Tags: kame_19991208,
SMP_BASE,
OPENBSD_2_7_BASE,
OPENBSD_2_7,
OPENBSD_2_6_BASE,
OPENBSD_2_6,
OPENBSD_2_5_BASE,
OPENBSD_2_5
Branch point for: SMP
Midi & sequencer support from NetBSD, mostly by Lennart Augustsson