]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/usb_usual.h
USB: storage: add last-sector hacks
[linux-2.6-omap-h63xx.git] / include / linux / usb_usual.h
index 998e5cbbf29ea3417e018d3e6c6e867a4922d65a..1eea1ab68dc4849a37ccf3ca5a83d86f3e01690a 100644 (file)
                /* Sets max_sectors to arch min */              \
        US_FLAG(BULK_IGNORE_TAG,0x00004000)                     \
                /* Ignore tag mismatch in bulk operations */    \
-       US_FLAG(SANE_SENSE,     0x00008000)
-               /* Sane Sense (> 18 bytes) */
+       US_FLAG(SANE_SENSE,     0x00008000)                     \
+               /* Sane Sense (> 18 bytes) */                   \
+       US_FLAG(CAPACITY_OK,    0x00010000)                     \
+               /* READ CAPACITY response is correct */
 
 #define US_FLAG(name, value)   US_FL_##name = value ,
 enum { US_DO_ALL_FLAGS };