Module Name:    src
Committed By:   wiz
Date:           Mon Oct 12 23:43:05 UTC 2009

Modified Files:
        src/sys/dev/usb: umass_quirks.c

Log Message:
Add quirk for Meizu M6, which doesn't like synchronize cache;
addresses PR 40442.

Idea for quirk from FreeBSD/hps.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 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.76 src/sys/dev/usb/umass_quirks.c:1.77
--- src/sys/dev/usb/umass_quirks.c:1.76	Mon Oct 27 21:46:43 2008
+++ src/sys/dev/usb/umass_quirks.c	Mon Oct 12 23:43:05 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: umass_quirks.c,v 1.76 2008/10/27 21:46:43 joerg Exp $	*/
+/*	$NetBSD: umass_quirks.c,v 1.77 2009/10/12 23:43:05 wiz 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.76 2008/10/27 21:46:43 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass_quirks.c,v 1.77 2009/10/12 23:43:05 wiz Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -221,6 +221,14 @@
 	  UMATCH_VENDOR_PRODUCT,
 	  NULL, NULL
 	},
+	/* Meizu M6 doesn't like synchronize-cache, see PR 40442 */
+	{ { USB_VENDOR_MEIZU, USB_PRODUCT_MEIZU_M6_SL },
+	  UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC, 
+	  0,
+	  PQUIRK_NOSYNCCACHE,
+	  UMATCH_VENDOR_PRODUCT,
+	  NULL, NULL
+	},
 };
 
 const struct umass_quirk *

Reply via email to