From 12dd706a8bbc8e79f7add99f42ddbb620c70276b Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Tue, 28 Feb 2012 23:53:03 +0000 Subject: Add support for Roland UM-ONE, from Tom Ivar Helbekkmo in NetBSD PR 45908. ok ratchov@ --- sys/dev/usb/umidi_quirks.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'sys/dev/usb') diff --git a/sys/dev/usb/umidi_quirks.c b/sys/dev/usb/umidi_quirks.c index ee7ec51ea45..0f1e1458d0b 100644 --- a/sys/dev/usb/umidi_quirks.c +++ b/sys/dev/usb/umidi_quirks.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umidi_quirks.c,v 1.9 2008/06/26 05:42:19 ray Exp $ */ +/* $OpenBSD: umidi_quirks.c,v 1.10 2012/02/28 23:53:02 jsg Exp $ */ /* $NetBSD: umidi_quirks.c,v 1.4 2002/06/19 13:55:30 tshiozak Exp $ */ /* @@ -338,6 +338,20 @@ UMQ_DEF(ROLAND, ROLAND_UA700, 3) = { UMQ_TERMINATOR }; +/* + * ROLAND UM-ONE + */ +UMQ_FIXED_EP_DEF(ROLAND, ROLAND_UMONE, ANYIFACE, 1, 1) = { + /* out */ + { 0, 1 }, + /* in */ + { 1, 1 } +}; + +UMQ_DEF(ROLAND, ROLAND_UMONE, ANYIFACE) = { + UMQ_FIXED_EP_REG(ROLAND, ROLAND_UMONE, ANYIFACE), + UMQ_TERMINATOR +}; /* * quirk list @@ -361,6 +375,7 @@ struct umidi_quirk umidi_quirklist[] = { UMQ_REG(ROLAND, ROLAND_SD20, 0), UMQ_REG(ROLAND, ROLAND_SD80, 0), UMQ_REG(ROLAND, ROLAND_UA700, 3), + UMQ_REG(ROLAND, ROLAND_UMONE, ANYIFACE), UMQ_TERMINATOR }; -- cgit v1.2.3