diff options
Diffstat (limited to 'include/linux/bsg.h')
-rw-r--r-- | include/linux/bsg.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/bsg.h b/include/linux/bsg.h index cf0303a60611..3f0c64ace424 100644 --- a/include/linux/bsg.h +++ b/include/linux/bsg.h | |||
@@ -7,6 +7,14 @@ | |||
7 | #define BSG_SUB_PROTOCOL_SCSI_TMF 1 | 7 | #define BSG_SUB_PROTOCOL_SCSI_TMF 1 |
8 | #define BSG_SUB_PROTOCOL_SCSI_TRANSPORT 2 | 8 | #define BSG_SUB_PROTOCOL_SCSI_TRANSPORT 2 |
9 | 9 | ||
10 | /* | ||
11 | * For flags member below | ||
12 | * sg.h sg_io_hdr also has bits defined for it's flags member. However | ||
13 | * none of these bits are implemented/used by bsg. The bits below are | ||
14 | * allocated to not conflict with sg.h ones anyway. | ||
15 | */ | ||
16 | #define BSG_FLAG_Q_AT_TAIL 0x10 /* default, == 0 at this bit, is Q_AT_HEAD */ | ||
17 | |||
10 | struct sg_io_v4 { | 18 | struct sg_io_v4 { |
11 | __s32 guard; /* [i] 'Q' to differentiate from v3 */ | 19 | __s32 guard; /* [i] 'Q' to differentiate from v3 */ |
12 | __u32 protocol; /* [i] 0 -> SCSI , .... */ | 20 | __u32 protocol; /* [i] 0 -> SCSI , .... */ |