[x86] the olpc config that was merged from the olpc port is a 2.6.30 config
[openwrt.git] / target / linux / generic-2.4 / patches / 229-usb_storage_16_byte_cdb.patch
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