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 quick for Sandisk Cruzer - from PR kern/46547



details:   https://anonhg.NetBSD.org/src/rev/c47176f2f52b
branches:  trunk
changeset: 815721:c47176f2f52b
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Wed Jun 01 04:54:59 2016 +0000

description:
Add quick for Sandisk Cruzer - from PR kern/46547

diffstat:

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

diffs (36 lines):

diff -r 54208a7992d3 -r c47176f2f52b sys/dev/usb/umass_quirks.c
--- a/sys/dev/usb/umass_quirks.c        Wed Jun 01 04:52:20 2016 +0000
+++ b/sys/dev/usb/umass_quirks.c        Wed Jun 01 04:54:59 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass_quirks.c,v 1.97 2016/04/23 10:15:32 skrll Exp $  */
+/*     $NetBSD: umass_quirks.c,v 1.98 2016/06/01 04:54:59 pgoyette 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.97 2016/04/23 10:15:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.98 2016/06/01 04:54:59 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -270,6 +270,17 @@
        },
 
        /*
+        * SanDisk Cruzer rejects cache sync.
+        */
+       { { USB_VENDOR_SANDISK, USB_PRODUCT_SANDISK_CRUZER },
+         UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC,
+         0,
+         PQUIRK_NOSYNCCACHE,
+         UMATCH_VENDOR_PRODUCT,
+         NULL, NULL
+       },
+
+       /*
         * SanDisk Sansa Clip rejects cache sync in unconventional way.
         * However, unlike some other devices listed in this table,
         * this is does not cause the device firmware to stop responding.



Home | Main Index | Thread Index | Old Index