summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormlelstv <mlelstv@NetBSD.org>2008-05-11 05:20:33 +0000
committermlelstv <mlelstv@NetBSD.org>2008-05-11 05:20:33 +0000
commit8944a895781f28da2e2b2da63930ec86c73faadd (patch)
treeaff52aa0fd236b5053dc3ee20a9370ff0b91071d /sys/dev
parent42e9b7252fcbfb547801a3bf01792ccbcb8eaf8a (diff)
Use NODOORLOCK quirk to make iBead MP3 players work.
Fixes PR kern/23875.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/umass_quirks.c26
1 files changed, 24 insertions, 2 deletions
diff --git a/sys/dev/usb/umass_quirks.c b/sys/dev/usb/umass_quirks.c
index 228e1321d9d..06de835ef38 100644
--- a/sys/dev/usb/umass_quirks.c
+++ b/sys/dev/usb/umass_quirks.c
@@ -1,4 +1,4 @@
-/* $NetBSD: umass_quirks.c,v 1.73 2008/04/28 20:24:00 martin Exp $ */
+/* $NetBSD: umass_quirks.c,v 1.74 2008/05/11 05:20:33 mlelstv 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.73 2008/04/28 20:24:00 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.74 2008/05/11 05:20:33 mlelstv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -195,6 +195,28 @@ Static const struct umass_quirk umass_quirks[] = {
UMASS_QUIRK_USE_DEFAULTMATCH, /* use default MATCH function */
umass_init_e220, NULL
},
+ /* IBEAD devices don't like all SCSI commands */
+ { { USB_VENDOR_SIGMATEL, USB_PRODUCT_SIGMATEL_MUSICSTICK },
+ UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC,
+ 0,
+ PQUIRK_NODOORLOCK | PQUIRK_NOSYNCCACHE,
+ UMATCH_VENDOR_PRODUCT,
+ NULL, NULL
+ },
+ { { USB_VENDOR_SIGMATEL, USB_PRODUCT_SIGMATEL_I_BEAD100 },
+ UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC,
+ 0,
+ PQUIRK_NODOORLOCK | PQUIRK_NOSYNCCACHE,
+ UMATCH_VENDOR_PRODUCT,
+ NULL, NULL
+ },
+ { { USB_VENDOR_SIGMATEL, USB_PRODUCT_SIGMATEL_I_BEAD150 },
+ UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC,
+ 0,
+ PQUIRK_NODOORLOCK | PQUIRK_NOSYNCCACHE,
+ UMATCH_VENDOR_PRODUCT,
+ NULL, NULL
+ },
};
const struct umass_quirk *