You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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;
|
|
}
|
|
|