Add quirk for Kingston DT Mini 10 to stop it giving HBA errors.

This commit is contained in:
sborrill 2010-10-18 16:13:09 +00:00
parent 59cb95b2cd
commit 75924e7e83
1 changed files with 11 additions and 2 deletions

View File

@ -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 *