]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
USB: usb-storage: unusual_devs update for TrekStor DataStation maxi g.u external...
authorRichard Schütz <r.schtz@t-online.de>
Wed, 22 Dec 2010 13:28:56 +0000 (14:28 +0100)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:46:17 +0000 (12:46 -0400)
commit 7e1e7bd9dbd469267b6e6de1bf8d71a7d65ce86a upstream.

The TrekStor DataStation maxi g.u external hard drive enclosure uses a
JMicron USB to SATA chip which needs the US_FL_IGNORE_RESIDUE flag to work
properly.

[PG: change USB_ --> US_ to match 2.6.34.x naming conventions]

Signed-off-by: Richard Schütz <r.schtz@t-online.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/usb/storage/unusual_devs.h

index 0fa56ea6ae318c2c63807ee5209851d2780c4c08..c246fe8d895f9278746fe63e90da9ae12653104b 100644 (file)
@@ -1875,6 +1875,15 @@ UNUSUAL_DEV( 0x1908, 0x1320, 0x0000, 0x0000,
                US_SC_DEVICE, US_PR_DEVICE, NULL,
                US_FL_BAD_SENSE ),
 
+/* Patch by Richard Schütz <r.schtz@t-online.de>
+ * This external hard drive enclosure uses a JMicron chip which
+ * needs the US_FL_IGNORE_RESIDUE flag to work properly. */
+UNUSUAL_DEV(  0x1e68, 0x001b, 0x0000, 0x0000,
+               "TrekStor GmbH & Co. KG",
+               "DataStation maxi g.u",
+               US_SC_DEVICE, US_PR_DEVICE, NULL,
+               US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
+
 UNUSUAL_DEV( 0x2116, 0x0320, 0x0001, 0x0001,
                "ST",
                "2A",