diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2008-07-01 20:03:19 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-12 15:22:32 +0200 |
commit | 39120e11705782c77d3a47d7d2927676fd8e3aaa (patch) | |
tree | b9f897de2a45928146d362ee01a583c1c3f2fa8a /drivers | |
parent | [SCSI] lib: Add support for the T10 (SCSI) Data Integrity Field CRC (diff) | |
download | linux-39120e11705782c77d3a47d7d2927676fd8e3aaa.tar.xz linux-39120e11705782c77d3a47d7d2927676fd8e3aaa.zip |
[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 'drivers')
-rw-r--r-- | drivers/scsi/sg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index ea0edd1b2e76..2010fa039cfe 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c @@ -1026,6 +1026,9 @@ sg_ioctl(struct inode *inode, struct file *filp, case SG_SCSI_RESET_DEVICE: val = SCSI_TRY_RESET_DEVICE; break; + case SG_SCSI_RESET_TARGET: + val = SCSI_TRY_RESET_TARGET; + break; case SG_SCSI_RESET_BUS: val = SCSI_TRY_RESET_BUS; break; |