From: ratchov Date: Thu, 18 Jan 2018 18:09:38 +0000 (+0000) Subject: Remove quirk matching all Yamaha devices, as this prevents non-MIDI X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f31c13dbf9c05f2861812af3403db6ab444bcdc2;p=openbsd Remove quirk matching all Yamaha devices, as this prevents non-MIDI devices from attaching (ex uaudio devices). ok mpi --- diff --git a/sys/dev/usb/umidi_quirks.c b/sys/dev/usb/umidi_quirks.c index 92901d1f11b..df4f6953991 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.15 2017/12/30 20:47:00 guenther Exp $ */ +/* $OpenBSD: umidi_quirks.c,v 1.16 2018/01/18 18:09:38 ratchov Exp $ */ /* $NetBSD: umidi_quirks.c,v 1.4 2002/06/19 13:55:30 tshiozak Exp $ */ /* @@ -76,22 +76,9 @@ UMQ_FIXED_EP_DEF(YAMAHA, YAMAHA_UX256, ANYIFACE, 1, 1) = { UMQ_DEF(YAMAHA, YAMAHA_UX256, ANYIFACE) = { UMQ_FIXED_EP_REG(YAMAHA, YAMAHA_UX256, ANYIFACE), -#if 0 - UMQ_YAMAHA_REG(YAMAHA, ANYPRODUCT, ANYIFACE), -#endif - UMQ_TERMINATOR -}; - - -/* - * YAMAHA generic - */ -UMQ_DEF(YAMAHA, ANYPRODUCT, ANYIFACE) = { - UMQ_YAMAHA_REG(YAMAHA, ANYPRODUCT, ANYIFACE), UMQ_TERMINATOR }; - /* * ROLAND UM-1 */ @@ -353,7 +340,6 @@ UMQ_DEF(ROLAND, ROLAND_UMONE, ANYIFACE) = { */ 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),