Module Name: src
Committed By: jakllsch
Date: Tue Jun 8 20:40:07 UTC 2010
Modified Files:
src/sys/dev/usb: umass_quirks.c
Log Message:
Add quirks for Creative Nomad MuVo, it chokes when told to prevent
media removal or synchronize cache. Should fix PR#30389.
To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/sys/dev/usb/umass_quirks.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/umass_quirks.c
diff -u src/sys/dev/usb/umass_quirks.c:1.80 src/sys/dev/usb/umass_quirks.c:1.81
--- src/sys/dev/usb/umass_quirks.c:1.80 Mon Jun 7 01:56:51 2010
+++ src/sys/dev/usb/umass_quirks.c Tue Jun 8 20:40:07 2010
@@ -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 },