• James Bottomley's avatar
    scsi: Add reset ioctl capability to ULDs · 0ed32242
    James Bottomley authored
    Currently, the only way to issue a SCSI reset of any
    type is to use the sg device.  By adding extra ioctls
    to scsi_ioctl.c we enable this for all ULDs.
    
    The slight complication is that scsi_ioctl() is usually
    only called when the device has been checked not to be
    undergoing eh recovery.  Resets may be issued in
    this scenario if the user opens the device O_NONBLOCK.
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    0ed32242
scsi_ioctl.h 1.33 KB