Module Name: src Committed By: pgoyette Date: Wed Jun 1 04:54:59 UTC 2016
Modified Files: src/sys/dev/usb: umass_quirks.c Log Message: Add quick for Sandisk Cruzer - from PR kern/46547 To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 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.97 src/sys/dev/usb/umass_quirks.c:1.98 --- src/sys/dev/usb/umass_quirks.c:1.97 Sat Apr 23 10:15:32 2016 +++ src/sys/dev/usb/umass_quirks.c Wed Jun 1 04:54:59 2016 @@ -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 @@ Static const struct umass_quirk umass_qu }, /* + * 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.