summaryrefslogtreecommitdiff
path: root/sys/dev/midi_if.h
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2000-05-24 13:44:19 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2000-05-24 13:44:19 +0000
commitc5ab1f153fd2480c2c69739c17ffd657875cc645 (patch)
treeab0f4c0b66531ce5e9622177ebe00f7f4e4c20d1 /sys/dev/midi_if.h
parentfa1f4284b2b2285267bac742e98ded00f28822f3 (diff)
Permit detach of audio devices, such as uaudio. Selected code
from NetBSD/Lennart Augustsson. (niklas@ ok)
Diffstat (limited to 'sys/dev/midi_if.h')
-rw-r--r--sys/dev/midi_if.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/sys/dev/midi_if.h b/sys/dev/midi_if.h
index d46aaa217d6..4254df26293 100644
--- a/sys/dev/midi_if.h
+++ b/sys/dev/midi_if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: midi_if.h,v 1.1 1999/01/02 00:02:37 niklas Exp $ */
+/* $OpenBSD: midi_if.h,v 1.2 2000/05/24 13:44:18 ho Exp $ */
/* $NetBSD: midi_if.h,v 1.3 1998/11/25 22:17:07 augustss Exp $ */
/*
@@ -60,11 +60,12 @@ struct midi_hw_if {
int (*ioctl)__P((void *, u_long, caddr_t, int, struct proc *));
};
-void midi_attach __P((struct midi_softc *, struct device *));
-void midi_attach_mi __P((struct midi_hw_if *, void *, struct device *));
+void midi_attach __P((struct midi_softc *, struct device *));
+struct device *midi_attach_mi __P((struct midi_hw_if *, void *,
+ struct device *));
-int midi_unit_count __P((void));
-void midi_getinfo __P((dev_t, struct midi_info *));
-int midi_writebytes __P((int, u_char *, int));
+int midi_unit_count __P((void));
+void midi_getinfo __P((dev_t, struct midi_info *));
+int midi_writebytes __P((int, u_char *, int));
#endif /* _SYS_DEV_MIDI_IF_H_ */