diff options
| author | Hans de Goede <[email protected]> | 2015-04-21 09:20:31 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-04-28 10:48:57 +0000 |
| commit | ee136af4a064c2f61e2025873584d2c7ec93f4ae (patch) | |
| tree | 5021e9e7d52d817f39695546f81509e929cf6ced /drivers/usb/chipidea/debug.c | |
| parent | uas: Allow uas_use_uas_driver to return usb-storage flags (diff) | |
| download | kernel-ee136af4a064c2f61e2025873584d2c7ec93f4ae.tar.gz kernel-ee136af4a064c2f61e2025873584d2c7ec93f4ae.zip | |
uas: Add US_FL_MAX_SECTORS_240 flag
The usb-storage driver sets max_sectors = 240 in its scsi-host template,
for uas we do not want to do that for all devices, but testing has shown
that some devices need it.
This commit adds a US_FL_MAX_SECTORS_240 flag for such devices, and
implements support for it in uas.c, while at it it also adds support
for US_FL_MAX_SECTORS_64 to uas.c.
Cc: [email protected] # 3.16
Signed-off-by: Hans de Goede <[email protected]>
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/chipidea/debug.c')
0 files changed, 0 insertions, 0 deletions
