Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2009 17:43:58 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r187726 - in head/sys/dev: usb usb2/storage
Message-ID:  <200901261743.n0QHhwVH057461@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thompsa
Date: Mon Jan 26 17:43:58 2009
New Revision: 187726
URL: http://svn.freebsd.org/changeset/base/187726

Log:
  Add umass quirk.
  
  Submitted by:	Hans Petter Selasky

Modified:
  head/sys/dev/usb/usbdevs
  head/sys/dev/usb2/storage/umass2.c

Modified: head/sys/dev/usb/usbdevs
==============================================================================
--- head/sys/dev/usb/usbdevs	Mon Jan 26 17:42:02 2009	(r187725)
+++ head/sys/dev/usb/usbdevs	Mon Jan 26 17:43:58 2009	(r187726)
@@ -1801,6 +1801,7 @@ product MSYSTEMS DISKONKEY2	0x0011	DiskO
 
 /* Myson products */
 product MYSON HEDEN		0x8818	USB-IDE
+product MYSON STARREADER	0x9920	USB flash card adapter
 
 /* National Semiconductor */
 product NATIONAL BEARPAW1200	0x1000	BearPaw 1200

Modified: head/sys/dev/usb2/storage/umass2.c
==============================================================================
--- head/sys/dev/usb2/storage/umass2.c	Mon Jan 26 17:42:02 2009	(r187725)
+++ head/sys/dev/usb2/storage/umass2.c	Mon Jan 26 17:43:58 2009	(r187726)
@@ -612,6 +612,10 @@ static const struct umass_devdescr umass
 		UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
 		NO_INQUIRY | IGNORE_RESIDUE
 	},
+	{USB_VENDOR_MYSON, USB_PRODUCT_MYSON_STARREADER, RID_WILDCARD,
+		UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
+		NO_SYNCHRONIZE_CACHE
+	},
 	{USB_VENDOR_NEODIO, USB_PRODUCT_NEODIO_ND3260, RID_WILDCARD,
 		UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
 		FORCE_SHORT_INQUIRY



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901261743.n0QHhwVH057461>