Go to the documentation of this file.
9 #ifndef __LINUX_USB_USUAL_H
10 #define __LINUX_USB_USUAL_H
25 #define US_DO_ALL_FLAGS \
26 US_FLAG(SINGLE_LUN, 0x00000001) \
28 US_FLAG(NEED_OVERRIDE, 0x00000002) \
30 US_FLAG(SCM_MULT_TARG, 0x00000004) \
32 US_FLAG(FIX_INQUIRY, 0x00000008) \
34 US_FLAG(FIX_CAPACITY, 0x00000010) \
36 US_FLAG(IGNORE_RESIDUE, 0x00000020) \
38 US_FLAG(BULK32, 0x00000040) \
40 US_FLAG(NOT_LOCKABLE, 0x00000080) \
42 US_FLAG(GO_SLOW, 0x00000100) \
44 US_FLAG(NO_WP_DETECT, 0x00000200) \
46 US_FLAG(MAX_SECTORS_64, 0x00000400) \
48 US_FLAG(IGNORE_DEVICE, 0x00000800) \
50 US_FLAG(CAPACITY_HEURISTICS, 0x00001000) \
52 US_FLAG(MAX_SECTORS_MIN,0x00002000) \
54 US_FLAG(BULK_IGNORE_TAG,0x00004000) \
56 US_FLAG(SANE_SENSE, 0x00008000) \
58 US_FLAG(CAPACITY_OK, 0x00010000) \
60 US_FLAG(BAD_SENSE, 0x00020000) \
62 US_FLAG(NO_READ_DISC_INFO, 0x00040000) \
64 US_FLAG(NO_READ_CAPACITY_16, 0x00080000) \
66 US_FLAG(INITIAL_READ10, 0x00100000) \
68 US_FLAG(WRITE_CACHE, 0x00200000) \
71 #define US_FLAG(name, value) US_FL_##name = value ,