.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "__IPR_EH_DEV_RESET" "9" "09 October 2005" "" ""
.SH NAME
__ipr_eh_dev_reset \- Reset the device
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int __ipr_eh_dev_reset (struct scsi_cmnd * \fIscsi_cmd\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIscsi_cmd\fB\fR
scsi command struct
.SH "DESCRIPTION"
.PP
This function issues a device reset to the affected device.
A LUN reset will be sent to the device first. If that does
not work, a target reset will be sent.
.SH "RETURN VALUE"
.PP
SUCCESS / FAILED