.\" 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_SLAVE_ALLOC" "9" "09 October 2005" "" "" .SH NAME ipr_slave_alloc \- Prepare for commands to a device. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int ipr_slave_alloc (struct scsi_device * \fIsdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIsdev\fB\fR scsi device struct .SH "DESCRIPTION" .PP This function saves a pointer to the resource entry in the scsi device struct if the device exists. We can then use this pointer in ipr_queuecommand when handling new commands. .SH "RETURN VALUE" .PP 0 on success