6b13f685e
김민수
BSP 최초 추가
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
#ifndef __LINUX_USB_USUAL_H
#define __LINUX_USB_USUAL_H
#define US_DO_ALL_FLAGS \
US_FLAG(SINGLE_LUN, 0x00000001) \
\
US_FLAG(NEED_OVERRIDE, 0x00000002) \
\
US_FLAG(SCM_MULT_TARG, 0x00000004) \
\
US_FLAG(FIX_INQUIRY, 0x00000008) \
\
US_FLAG(FIX_CAPACITY, 0x00000010) \
\
US_FLAG(IGNORE_RESIDUE, 0x00000020) \
\
US_FLAG(BULK32, 0x00000040) \
\
US_FLAG(NOT_LOCKABLE, 0x00000080) \
\
US_FLAG(GO_SLOW, 0x00000100) \
\
US_FLAG(NO_WP_DETECT, 0x00000200) \
\
US_FLAG(MAX_SECTORS_64, 0x00000400) \
\
US_FLAG(IGNORE_DEVICE, 0x00000800) \
\
US_FLAG(CAPACITY_HEURISTICS, 0x00001000) \
\
US_FLAG(MAX_SECTORS_MIN,0x00002000) \
\
US_FLAG(BULK_IGNORE_TAG,0x00004000) \
\
US_FLAG(SANE_SENSE, 0x00008000) \
\
US_FLAG(CAPACITY_OK, 0x00010000) \
\
US_FLAG(BAD_SENSE, 0x00020000) \
\
US_FLAG(NO_READ_DISC_INFO, 0x00040000) \
\
US_FLAG(NO_READ_CAPACITY_16, 0x00080000) \
\
US_FLAG(INITIAL_READ10, 0x00100000) \
\
US_FLAG(WRITE_CACHE, 0x00200000) \
\
US_FLAG(NEEDS_CAP16, 0x00400000)
#define US_FLAG(name, value) US_FL_##name = value ,
enum { US_DO_ALL_FLAGS };
#undef US_FLAG
#include <linux/usb/storage.h>
extern int usb_usual_ignore_device(struct usb_interface *intf);
extern struct usb_device_id usb_storage_usb_ids[];
#endif /* __LINUX_USB_USUAL_H */
|