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 quirk for Kingston DataTraveler 100 G2 (whic...



details:   https://anonhg.NetBSD.org/src/rev/1c64fcabf09d
branches:  trunk
changeset: 777773:1c64fcabf09d
user:      riz <riz%NetBSD.org@localhost>
date:      Sat Mar 03 21:35:32 2012 +0000

description:
Add quirk for Kingston DataTraveler 100 G2 (which apparently has
a Toshiba vendor ID)

diffstat:

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

diffs (34 lines):

diff -r f55e6cfd5704 -r 1c64fcabf09d sys/dev/usb/umass_quirks.c
--- a/sys/dev/usb/umass_quirks.c        Sat Mar 03 21:33:23 2012 +0000
+++ b/sys/dev/usb/umass_quirks.c        Sat Mar 03 21:35:32 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass_quirks.c,v 1.92 2011/12/23 00:51:47 jakllsch Exp $       */
+/*     $NetBSD: umass_quirks.c,v 1.93 2012/03/03 21:35:32 riz 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.92 2011/12/23 00:51:47 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.93 2012/03/03 21:35:32 riz Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_umass.h"
@@ -319,6 +319,15 @@
          NULL, NULL
        },
 
+       /* Also, some Kingston pendrives have Toshiba vendor ID */
+       { { USB_VENDOR_TOSHIBA, USB_PRODUCT_KINGSTON_DT100_G2 },
+         UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC, 
+         0,
+         PQUIRK_NODOORLOCK,
+         UMATCH_VENDOR_PRODUCT,
+         NULL, NULL
+       },
+
        /* HP USB pendrives don't like being told to lock the door */
        { { USB_VENDOR_HP, USB_PRODUCT_HP_V125W },
          UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC,



Home | Main Index | Thread Index | Old Index