SCSI_SCAN_TARGET

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

scsi_scan_target - scan a target id, possibly including all LUNs on the  

SYNOPSIS

"SYNOPSIS"

void scsi_scan_target (struct device * parent, unsigned int channel, unsigned int id, unsigned int lun, int rescan);  

ARGUMENTS

parent
-- undescribed --
channel
channel to scan
id
target id to scan
lun
-- undescribed --
rescan
-- undescribed --
 

DESCRIPTION

Scan the target id on shost, channel, and id. Scan at least LUN 0, and possibly all LUNs on the target id.

Use the pre-allocated sdevscan as a handle for the scanning. This function sets sdevscan->host, sdevscan->id and sdevscan->lun; the scanning functions modify sdevscan->lun.

First try a REPORT LUN scan, if that does not scan the target, do a sequential scan of LUNs on the target id.  

DESCRIPTION

Scan the target id on shost, channel, and id. Scan at least LUN 0, and possibly all LUNs on the target id.

Use the pre-allocated sdevscan as a handle for the scanning. This function sets sdevscan->host, sdevscan->id and sdevscan->lun; the scanning functions modify sdevscan->lun.

First try a REPORT LUN scan, if that does not scan the target, do a sequential scan of LUNs on the target id.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:45 GMT, October 09, 2005