summaryrefslogtreecommitdiff
path: root/sys/dev/usb/umidi_quirks.c
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2002-07-09 15:22:09 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2002-07-09 15:22:09 +0000
commit4fd5221df774f98cc0ecff162ebc6476cd362c21 (patch)
treebaa90d538962ab31efbfd4918a1350e678a6099a /sys/dev/usb/umidi_quirks.c
parentb44597436845cfaf048928d3dc212d297cf4c0b9 (diff)
fixes from NetBSD
Diffstat (limited to 'sys/dev/usb/umidi_quirks.c')
-rw-r--r--sys/dev/usb/umidi_quirks.c36
1 files changed, 34 insertions, 2 deletions
diff --git a/sys/dev/usb/umidi_quirks.c b/sys/dev/usb/umidi_quirks.c
index e5b47503246..cf557bf7586 100644
--- a/sys/dev/usb/umidi_quirks.c
+++ b/sys/dev/usb/umidi_quirks.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: umidi_quirks.c,v 1.3 2002/06/11 07:49:57 nate Exp $ */
-/* $NetBSD: umidi_quirks.c,v 1.3 2001/11/13 06:24:56 lukem Exp $ */
+/* $OpenBSD: umidi_quirks.c,v 1.4 2002/07/09 15:22:08 nate Exp $ */
+/* $NetBSD: umidi_quirks.c,v 1.4 2002/06/19 13:55:30 tshiozak Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -120,6 +120,36 @@ UMQ_DEF(ROLAND, ROLAND_UM1, 2) = {
UMQ_TERMINATOR
};
+/*
+ * ROLAND SC-8850
+ */
+UMQ_FIXED_EP_DEF(ROLAND, ROLAND_SC8850, 2, 1, 1) = {
+ /* out */
+ { 0, 6 },
+ /* in */
+ { 1, 6 }
+};
+
+UMQ_DEF(ROLAND, ROLAND_SC8850, 2) = {
+ UMQ_FIXED_EP_REG(ROLAND, ROLAND_SC8850, 2),
+ UMQ_TERMINATOR
+};
+
+/*
+ * ROLAND SD-90
+ */
+UMQ_FIXED_EP_DEF(ROLAND, ROLAND_SD90, 2, 1, 1) = {
+ /* out */
+ { 0, 4 },
+ /* in */
+ { 1, 4 }
+};
+
+UMQ_DEF(ROLAND, ROLAND_SD90, 2) = {
+ UMQ_FIXED_EP_REG(ROLAND, ROLAND_SD90, 2),
+ UMQ_TERMINATOR
+};
+
/*
* ROLAND UM-880 (native mode)
@@ -145,6 +175,8 @@ struct umidi_quirk umidi_quirklist[] = {
UMQ_REG(YAMAHA, YAMAHA_UX256, ANYIFACE),
UMQ_REG(YAMAHA, ANYPRODUCT, ANYIFACE),
UMQ_REG(ROLAND, ROLAND_UM1, 2),
+ UMQ_REG(ROLAND, ROLAND_SC8850, 2),
+ UMQ_REG(ROLAND, ROLAND_SD90, 2),
UMQ_REG(ROLAND, ROLAND_UM880N, 0),
UMQ_TERMINATOR
};