diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2008-07-01 22:03:19 +0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-12 17:22:32 +0400 |
commit | 39120e11705782c77d3a47d7d2927676fd8e3aaa (patch) | |
tree | b9f897de2a45928146d362ee01a583c1c3f2fa8a /include/scsi/sg.h | |
parent | f11f594edba7f689af9792a5673ed59d660ad371 (diff) | |
download | linux-39120e11705782c77d3a47d7d2927676fd8e3aaa.tar.xz |
[SCSI] sg: Add target reset support
Adds support for target reset to SG_SCSI_RESET.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Acked-by: Douglas Gilbert <dougg@torque.net>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi/sg.h')
-rw-r--r-- | include/scsi/sg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/sg.h b/include/scsi/sg.h index 519c49a0fc11..934ae389671d 100644 --- a/include/scsi/sg.h +++ b/include/scsi/sg.h @@ -206,6 +206,7 @@ typedef struct sg_req_info { /* used by SG_GET_REQUEST_TABLE ioctl() */ #define SG_SCSI_RESET_DEVICE 1 #define SG_SCSI_RESET_BUS 2 #define SG_SCSI_RESET_HOST 3 +#define SG_SCSI_RESET_TARGET 4 /* synchronous SCSI command ioctl, (only in version 3 interface) */ #define SG_IO 0x2285 /* similar effect as write() followed by read() */ |