diff options
Diffstat (limited to 'include/linux/bsg.h')
-rw-r--r-- | include/linux/bsg.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/bsg.h b/include/linux/bsg.h index 0dd01f90ba5e..bd998ca6cb2e 100644 --- a/include/linux/bsg.h +++ b/include/linux/bsg.h | |||
@@ -1,6 +1,12 @@ | |||
1 | #ifndef BSG_H | 1 | #ifndef BSG_H |
2 | #define BSG_H | 2 | #define BSG_H |
3 | 3 | ||
4 | #define BSG_PROTOCOL_SCSI 0 | ||
5 | |||
6 | #define BSG_SUB_PROTOCOL_SCSI_CMD 0 | ||
7 | #define BSG_SUB_PROTOCOL_SCSI_TMF 1 | ||
8 | #define BSG_SUB_PROTOCOL_SCSI_TRANSPORT 2 | ||
9 | |||
4 | struct sg_io_v4 { | 10 | struct sg_io_v4 { |
5 | __s32 guard; /* [i] 'Q' to differentiate from v3 */ | 11 | __s32 guard; /* [i] 'Q' to differentiate from v3 */ |
6 | __u32 protocol; /* [i] 0 -> SCSI , .... */ | 12 | __u32 protocol; /* [i] 0 -> SCSI , .... */ |