Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Add quirks for Kingston DT 101 to stop them givi...



details:   https://anonhg.NetBSD.org/src/rev/a69bf23d9ebd
branches:  trunk
changeset: 769201:a69bf23d9ebd
user:      asau <asau%NetBSD.org@localhost>
date:      Sat Sep 03 01:56:44 2011 +0000

description:
Add quirks for Kingston DT 101 to stop them giving HBA errors.

diffstat:

 sys/dev/usb/umass_quirks.c |  20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diffs (41 lines):

diff -r 5a408be10efe -r a69bf23d9ebd sys/dev/usb/umass_quirks.c
--- a/sys/dev/usb/umass_quirks.c        Sat Sep 03 01:53:01 2011 +0000
+++ b/sys/dev/usb/umass_quirks.c        Sat Sep 03 01:56:44 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass_quirks.c,v 1.87 2011/08/24 11:28:50 mbalmer Exp $        */
+/*     $NetBSD: umass_quirks.c,v 1.88 2011/09/03 01:56:44 asau 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.87 2011/08/24 11:28:50 mbalmer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.88 2011/09/03 01:56:44 asau Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_umass.h"
@@ -274,6 +274,22 @@
        },
 
        /* Kingston USB pendrives don't like being told to lock the door */
+       { { USB_VENDOR_KINGSTON, USB_PRODUCT_KINGSTON_DT101_II },
+         UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC, 
+         0,
+         PQUIRK_NODOORLOCK,
+         UMATCH_VENDOR_PRODUCT,
+         NULL, NULL
+       },
+
+       { { USB_VENDOR_KINGSTON, USB_PRODUCT_KINGSTON_DT101_G2 },
+         UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC, 
+         0,
+         PQUIRK_NODOORLOCK,
+         UMATCH_VENDOR_PRODUCT,
+         NULL, NULL
+       },
+
        { { USB_VENDOR_KINGSTON, USB_PRODUCT_KINGSTON_DTMINI10 },
          UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC, 
          0,



Home | Main Index | Thread Index | Old Index