Module Name: src
Committed By: sborrill
Date: Mon Oct 18 16:13:09 UTC 2010
Modified Files:
src/sys/dev/usb: umass_quirks.c
Log Message:
Add quirk for Kingston DT Mini 10 to stop it giving HBA errors.
To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 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.81 src/sys/dev/usb/umass_quirks.c:1.82
--- src/sys/dev/usb/umass_quirks.c:1.81 Tue Jun 8 20:40:07 2010
+++ src/sys/dev/usb/umass_quirks.c Mon Oct 18 16:13:09 2010
@@ -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 @@
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 *