SCSI_SCAN_TARGET

Section: ()
Updated: 06 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 Scsi_Host * shost, unsigned int channel, unsigned int id);  

ARGUMENTS

shost
host to scan
channel
channel to scan
id
target id to scan
 

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: 07:07:25 GMT, October 06, 2005