Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101563
b: refs/heads/master
c: 39120e1
h: refs/heads/master
i:
  101561: a21f83e
  101559: 4f3e355
v: v3
  • Loading branch information
Brian King authored and James Bottomley committed Jul 12, 2008
1 parent 810867e commit cfecab9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f11f594edba7f689af9792a5673ed59d660ad371
refs/heads/master: 39120e11705782c77d3a47d7d2927676fd8e3aaa
3 changes: 3 additions & 0 deletions trunk/drivers/scsi/sg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions trunk/include/scsi/sg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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() */
Expand Down

0 comments on commit cfecab9

Please sign in to comment.