svn commit: r259675 - in head/sys/dev/usb: . quirk

Don Lewis truckman at FreeBSD.org
Sat Dec 21 03:05:14 UTC 2013


Author: truckman
Date: Sat Dec 21 03:05:13 2013
New Revision: 259675
URL: http://svnweb.freebsd.org/changeset/base/259675

Log:
  Add quirks to make my old SanDisk Cruzer Mini 128MB happy.
  
  MFC after:	1 week

Modified:
  head/sys/dev/usb/quirk/usb_quirk.c
  head/sys/dev/usb/usbdevs

Modified: head/sys/dev/usb/quirk/usb_quirk.c
==============================================================================
--- head/sys/dev/usb/quirk/usb_quirk.c	Sat Dec 21 00:37:32 2013	(r259674)
+++ head/sys/dev/usb/quirk/usb_quirk.c	Sat Dec 21 03:05:13 2013	(r259675)
@@ -332,6 +332,9 @@ static struct usb_quirk_entry usb_quirks
 	USB_QUIRK(SANDISK, SDDR12, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_CBI,
 	    UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_READ_CAP_OFFBY1,
 	    UQ_MSC_NO_GETMAXLUN),
+	USB_QUIRK(SANDISK, SDCZ2_128, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB,
+	    UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_IGNORE_RESIDUE,
+	    UQ_MSC_NO_SYNC_CACHE),
 	USB_QUIRK(SANDISK, SDCZ2_256, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB,
 	    UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_IGNORE_RESIDUE),
 	USB_QUIRK(SANDISK, SDCZ4_128, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB,

Modified: head/sys/dev/usb/usbdevs
==============================================================================
--- head/sys/dev/usb/usbdevs	Sat Dec 21 00:37:32 2013	(r259674)
+++ head/sys/dev/usb/usbdevs	Sat Dec 21 03:05:13 2013	(r259675)
@@ -3718,6 +3718,7 @@ product SANDISK SDDR05		0x0005	ImageMate
 product SANDISK SDDR12		0x0100	ImageMate SDDR-12
 product SANDISK SDDR09		0x0200	ImageMate SDDR-09
 product SANDISK SDDR75		0x0810	ImageMate SDDR-75
+product SANDISK SDCZ2_128	0x7100	Cruzer Mini 128MB
 product SANDISK SDCZ2_256	0x7104	Cruzer Mini 256MB
 product SANDISK SDCZ4_128	0x7112	Cruzer Micro 128MB
 product SANDISK SDCZ4_256	0x7113	Cruzer Micro 256MB


More information about the svn-src-head mailing list