PR/33154: DHOYASHIKI Shinichi: umidi quirks for Roland UM-3EX

This commit is contained in:
christos 2006-03-26 17:58:19 +00:00
parent 517eb6559a
commit 4db902eee0
2 changed files with 21 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: umidi_quirks.c,v 1.9 2005/12/11 12:24:01 christos Exp $ */
/* $NetBSD: umidi_quirks.c,v 1.10 2006/03/26 17:58:19 christos Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: umidi_quirks.c,v 1.9 2005/12/11 12:24:01 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: umidi_quirks.c,v 1.10 2006/03/26 17:58:19 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -435,6 +435,21 @@ UMQ_DEF(ROLAND, ROLAND_PCR, 0) = {
UMQ_TERMINATOR
};
/*
* ROLAND UM-3EX
*/
UMQ_FIXED_EP_DEF(ROLAND, ROLAND_UM3, 0, 1, 1) = {
/* out */
{ 0, 3 },
/* in */
{ 1, 3 }
};
UMQ_DEF(ROLAND, ROLAND_UM3, 0) = {
UMQ_FIXED_EP_REG(ROLAND, ROLAND_UM3, 0),
UMQ_TERMINATOR
};
/*
* quirk list
*/
@ -463,6 +478,7 @@ struct umidi_quirk umidi_quirklist[] = {
UMQ_REG(ROLAND, ROLAND_UA101F, 2),
UMQ_REG(ROLAND, ROLAND_FANTOMX, 0),
UMQ_REG(ROLAND, ROLAND_PCR, 0),
UMQ_REG(ROLAND, ROLAND_UM3, 0),
UMQ_TERMINATOR
};

View File

@ -1,4 +1,4 @@
$NetBSD: usbdevs,v 1.424 2006/03/25 14:12:19 gdt Exp $
$NetBSD: usbdevs,v 1.425 2006/03/26 17:58:19 christos Exp $
/*
* Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@ -1628,6 +1628,8 @@ product ROLAND UA3FX 0x0051 EDIROL UA-3FX USB audio I/F
product ROLAND FANTOMX 0x006d Fantom-X MIDI Synth.
product ROLAND UA101 0x007d EDIROL UA-101
product ROLAND UA101F 0x008d EDIROL UA-101 USB1
product ROLAND UA1EX 0x0096 EDIROL UA-1EX
product ROLAND UM3 0x009A EDIROL UM-3
/* Rockfire products */
product ROCKFIRE GAMEPAD 0x2033 gamepad 203USB