projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SCSI] usb-storage: add support for write cache quirk
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
include
/
linux
/
usb_usual.h
diff --git
a/include/linux/usb_usual.h
b/include/linux/usb_usual.h
index
17df360
..
e84e769
100644
(file)
--- a/
include/linux/usb_usual.h
+++ b/
include/linux/usb_usual.h
@@
-64,7
+64,9
@@
US_FLAG(NO_READ_CAPACITY_16, 0x00080000) \
/* cannot handle READ_CAPACITY_16 */ \
US_FLAG(INITIAL_READ10, 0x00100000) \
US_FLAG(NO_READ_CAPACITY_16, 0x00080000) \
/* cannot handle READ_CAPACITY_16 */ \
US_FLAG(INITIAL_READ10, 0x00100000) \
- /* Initial READ(10) (and others) must be retried */
+ /* Initial READ(10) (and others) must be retried */ \
+ US_FLAG(WRITE_CACHE, 0x00200000) \
+ /* Write Cache status is not available */
#define US_FLAG(name, value) US_FL_##name = value ,
enum { US_DO_ALL_FLAGS };
#define US_FLAG(name, value) US_FL_##name = value ,
enum { US_DO_ALL_FLAGS };