summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPhil Dibowitz <phil@ipom.com>2007-03-25 01:54:59 +0100
committerAdrian Bunk <bunk@stusta.de>2007-03-25 01:54:59 +0100
commit1c4cb21c2d789fa174e8e7d6e0e25f76f29a4cc8 (patch)
tree5ed14516e5b26244d0e29eaa1b8b3c410fdffaac /include/linux
parent4d5d3838da5726645474c82ee943770099ec92a4 (diff)
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> Signed-off-by: Adrian Bunk <bunk@stusta.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 b2d08984a9f7..145decd68fd7 100644
--- a/include/linux/usb_usual.h
+++ b/include/linux/usb_usual.h
@@ -44,6 +44,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 };