Root/
| 1 | --- a/drivers/usb/storage/scsiglue.c |
| 2 | +++ b/drivers/usb/storage/scsiglue.c |
| 3 | @@ -95,6 +95,11 @@ static int detect(struct SHT *sht) |
| 4 | if (us->host) { |
| 5 | us->host->hostdata[0] = (unsigned long)us; |
| 6 | us->host_no = us->host->host_no; |
| 7 | + |
| 8 | + /* allow 16-byte CDBs as we need it for devices > 2TB |
| 9 | + and ATA command pass-through */ |
| 10 | + us->host->max_cmd_len = 16; |
| 11 | + |
| 12 | return 1; |
| 13 | } |
| 14 | |
| 15 |
