Module Name: src Committed By: mrg Date: Thu Nov 24 21:59:35 UTC 2011
Modified Files: src/sys/dev: midi_if.h Log Message: begin to document the per-midi call backs and locking. XXX: lots more to do. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/dev/midi_if.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/midi_if.h diff -u src/sys/dev/midi_if.h:1.23 src/sys/dev/midi_if.h:1.24 --- src/sys/dev/midi_if.h:1.23 Wed Nov 23 23:07:31 2011 +++ src/sys/dev/midi_if.h Thu Nov 24 21:59:35 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: midi_if.h,v 1.23 2011/11/23 23:07:31 jmcneill Exp $ */ +/* $NetBSD: midi_if.h,v 1.24 2011/11/24 21:59:35 mrg Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -42,6 +42,22 @@ struct midi_info { #define MIDI_PROP_CAN_INPUT 2 #define MIDI_PROP_NO_OUTPUT 4 +/* + * XXX expand + * + * List of hardware interface methods, and when locks are held by each + * called by this module: + * + * METHOD INTR NOTES + * ----------------------- ------- ------------------------- + * open - + * close - + * output - + * getinfo - Called at attach time + * ioctl - + * get_locks - Called at attach time + */ + struct midi_softc; struct midi_hw_if {