mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-09-20 01:44:10 +03:00
ad43258cc7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17553 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
377 B
Diff
15 lines
377 B
Diff
--- a/drivers/usb/storage/scsiglue.c
|
|
+++ b/drivers/usb/storage/scsiglue.c
|
|
@@ -95,6 +95,11 @@ static int detect(struct SHT *sht)
|
|
if (us->host) {
|
|
us->host->hostdata[0] = (unsigned long)us;
|
|
us->host_no = us->host->host_no;
|
|
+
|
|
+ /* allow 16-byte CDBs as we need it for devices > 2TB
|
|
+ and ATA command pass-through */
|
|
+ us->host->max_cmd_len = 16;
|
|
+
|
|
return 1;
|
|
}
|
|
|