summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPhil Dibowitz <phil@ipom.com>2006-06-25 04:27:10 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-07-13 03:03:22 +0400
commit883d989a7edf7a62e38e9150990b56209420e9e5 (patch)
tree11b0476d04a21a3fa5a3ab07c6a687ac958a18d3 /include/linux
parent20307949469269ceea6262aaa306dcb55cf43b25 (diff)
downloadlinux-883d989a7edf7a62e38e9150990b56209420e9e5.tar.xz
[PATCH] USB Storage: US_FL_MAX_SECTORS_64 flag
This patch adds a US_FL_MAX_SECTORS_64 and removes the Genesys special-cases for this that were in scsiglue.c. It also adds the flag to other devices reported to need it. Signed-off-by: Phil Dibowitz <phil@ipom.com> Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb_usual.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/usb_usual.h b/include/linux/usb_usual.h
index 608487a62c98..f38f43f20fae 100644
--- a/include/linux/usb_usual.h
+++ b/include/linux/usb_usual.h
@@ -43,6 +43,8 @@
/* Need delay after Command phase */ \
US_FLAG(NO_WP_DETECT, 0x00000200) \
/* Don't check for write-protect */ \
+ US_FLAG(MAX_SECTORS_64, 0x00000400) \
+ /* Sets max_sectors to 64 */
#define US_FLAG(name, value) US_FL_##name = value ,
enum { US_DO_ALL_FLAGS };