Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Add quirks for Creative Nomad MuVo, it chokes wh...



details:   https://anonhg.NetBSD.org/src/rev/667a718a4e38
branches:  trunk
changeset: 755539:667a718a4e38
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Tue Jun 08 20:40:07 2010 +0000

description:
Add quirks for Creative Nomad MuVo, it chokes when told to prevent
media removal or synchronize cache.  Should fix PR#30389.

diffstat:

 sys/dev/usb/umass_quirks.c |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 100d254b0811 -r 667a718a4e38 sys/dev/usb/umass_quirks.c
--- a/sys/dev/usb/umass_quirks.c        Tue Jun 08 19:44:28 2010 +0000
+++ b/sys/dev/usb/umass_quirks.c        Tue Jun 08 20:40:07 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass_quirks.c,v 1.80 2010/06/07 01:56:51 jakllsch Exp $       */
+/*     $NetBSD: umass_quirks.c,v 1.81 2010/06/08 20:40:07 jakllsch Exp $       */
 
 /*
  * Copyright (c) 2001, 2004 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.80 2010/06/07 01:56:51 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.81 2010/06/08 20:40:07 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -228,6 +228,14 @@
          UMATCH_VENDOR_PRODUCT,
          NULL, NULL
        },
+       /* Creative Nomad MuVo, NetBSD PR 30389, FreeBSD PR 53094 */
+       { { USB_VENDOR_CREATIVE, USB_PRODUCT_CREATIVE_NOMAD },
+         UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC,
+         0,
+         PQUIRK_NODOORLOCK | PQUIRK_NOSYNCCACHE,
+         UMATCH_VENDOR_PRODUCT,
+         NULL, NULL
+       },
 
        /* iRiver iFP-[135]xx players fail on PREVENT/ALLOW, see PR 25440 */
        { { USB_VENDOR_IRIVER, USB_PRODUCT_IRIVER_IFP_1XX },



Home | Main Index | Thread Index | Old Index