diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2012-02-28 23:53:03 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2012-02-28 23:53:03 +0000 |
commit | 12dd706a8bbc8e79f7add99f42ddbb620c70276b (patch) | |
tree | eb2fd0685b7302d09816a46517d92f028acf4af7 /sys/dev/usb | |
parent | 7b5e7d58360b26dafc6d012708a3c8f3f4a3e228 (diff) |
Add support for Roland UM-ONE, from Tom Ivar Helbekkmo in NetBSD PR 45908.
ok ratchov@
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/umidi_quirks.c | 17 |
1 files changed, 16 insertions, 1 deletions
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 }; |