.\" 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 "SCSI_PROBE_LUN" "" "06 October 2005" "" ""
.SH NAME
scsi_probe_lun \- probe a single LUN using a SCSI INQUIRY
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void scsi_probe_lun (struct scsi_request * \fIsreq\fB, char * \fIinq_result\fB, int * \fIbflags\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIsreq\fB\fR
used to send the INQUIRY
.TP
\fB\fIinq_result\fB\fR
area to store the INQUIRY result
.TP
\fB\fIbflags\fB\fR
store any bflags found here
.SH "DESCRIPTION"
.PP
Probe the lun associated with \fIsreq\fR using a standard SCSI INQUIRY;
.PP
If the INQUIRY is successful, sreq->sr_result is zero and: the
INQUIRY data is in \fIinq_result\fR; the scsi_level and INQUIRY length
are copied to the Scsi_Device at \fIsreq\fR->sr_device (sdev);
any flags value is stored in *\fIbflags\fR\&.