diff options
| author | sborrill <sborrill@NetBSD.org> | 2010-10-18 16:13:09 +0000 |
|---|---|---|
| committer | sborrill <sborrill@NetBSD.org> | 2010-10-18 16:13:09 +0000 |
| commit | 75924e7e835eecf63eeaf3339bf0c4b804932c22 (patch) | |
| tree | 7b87f719c72713df953ffd7144a9e1c5534c0fd7 /sys/dev/usb | |
| parent | 59cb95b2cd1779b99543042d3ece748b55bfaea9 (diff) | |
Add quirk for Kingston DT Mini 10 to stop it giving HBA errors.
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/umass_quirks.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/dev/usb/umass_quirks.c b/sys/dev/usb/umass_quirks.c index 37be5e9ee13..8dfeb631bea 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.81 2010/06/08 20:40:07 jakllsch Exp $ */ +/* $NetBSD: umass_quirks.c,v 1.82 2010/10/18 16:13:09 sborrill 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.81 2010/06/08 20:40:07 jakllsch Exp $"); +__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.82 2010/10/18 16:13:09 sborrill Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -268,6 +268,15 @@ Static const struct umass_quirk umass_quirks[] = { UMATCH_VENDOR_PRODUCT, NULL, NULL }, + + /* Kingston USB pendrives don't like being told to lock the door */ + { { USB_VENDOR_KINGSTON, USB_PRODUCT_KINGSTON_DTMINI10 }, + UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC, + 0, + PQUIRK_NODOORLOCK, + UMATCH_VENDOR_PRODUCT, + NULL, NULL + }, }; const struct umass_quirk * |
