summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2005-09-07 06:57:09 +0000
committerjsg <jsg@openbsd.org>2005-09-07 06:57:09 +0000
commit158bf0f629f216e2a0daf13c520cf8ed4ee310f7 (patch)
treef98e93145c2571c3ad5d3103765ce100bd73d64d
parentRemove FreeBSD/NetBSD ifdef mess. We are not likely to be (diff)
downloadwireguard-openbsd-158bf0f629f216e2a0daf13c520cf8ed4ee310f7.tar.xz
wireguard-openbsd-158bf0f629f216e2a0daf13c520cf8ed4ee310f7.zip
Part of Alexandre Ratchov's last umidi diff that should have been committed.
pointed out by reyk@
-rw-r--r--sys/dev/usb/umidivar.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/usb/umidivar.h b/sys/dev/usb/umidivar.h
index 46c38d2cc25..77889e386fe 100644
--- a/sys/dev/usb/umidivar.h
+++ b/sys/dev/usb/umidivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: umidivar.h,v 1.8 2004/06/27 19:44:48 deraadt Exp $ */
+/* $OpenBSD: umidivar.h,v 1.9 2005/09/07 06:57:09 jsg Exp $ */
/* $NetBSD: umidivar.h,v 1.5 2002/09/12 21:00:42 augustss Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -40,7 +40,9 @@
struct umidi_packet {
unsigned status;
unsigned index;
- unsigned char buffer[UMIDI_PACKET_SIZE];
+ unsigned char buffer_rt[UMIDI_PACKET_SIZE]; /* real time packet */
+ unsigned char buffer_com[UMIDI_PACKET_SIZE]; /* common/voice packet */
+ unsigned char *buffer;
};
/*