.\" 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_SCAN_TARGET" "9" "09 October 2005" "" ""
.SH NAME
scsi_scan_target \- scan a target id, possibly including all LUNs on the
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void scsi_scan_target (struct device * \fIparent\fB, unsigned int \fIchannel\fB, unsigned int \fIid\fB, unsigned int \fIlun\fB, int \fIrescan\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIparent\fB\fR
-- undescribed --
.TP
\fB\fIchannel\fB\fR
channel to scan
.TP
\fB\fIid\fB\fR
target id to scan
.TP
\fB\fIlun\fB\fR
-- undescribed --
.TP
\fB\fIrescan\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
Scan the target id on \fIshost\fR, \fIchannel\fR, and \fIid\fR\&. Scan at least LUN
0, and possibly all LUNs on the target id.
.PP
Use the pre-allocated \fIsdevscan\fR as a handle for the scanning. This
function sets sdevscan->host, sdevscan->id and sdevscan->lun; the
scanning functions modify sdevscan->lun.
.PP
First try a REPORT LUN scan, if that does not scan the target, do a
sequential scan of LUNs on the target id.
.SH "DESCRIPTION"
.PP
Scan the target id on \fIshost\fR, \fIchannel\fR, and \fIid\fR\&. Scan at least LUN
0, and possibly all LUNs on the target id.
.PP
Use the pre-allocated \fIsdevscan\fR as a handle for the scanning. This
function sets sdevscan->host, sdevscan->id and sdevscan->lun; the
scanning functions modify sdevscan->lun.
.PP
First try a REPORT LUN scan, if that does not scan the target, do a
sequential scan of LUNs on the target id.