SCSI_ADD_LUN

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

 

NAME

scsi_add_lun - allocate and fully initialze a Scsi_Device  

SYNOPSIS

"SYNOPSIS"

int scsi_add_lun (struct scsi_device * sdev, char * inq_result, int * bflags);  

ARGUMENTS

sdev
-- undescribed --
inq_result
holds the result of a previous INQUIRY to the LUN
bflags
black/white list flag
 

DESCRIPTION

Allocate and initialize a Scsi_Device matching sdevscan. Optionally set fields based on values in *bflags. If sdevnew is not NULL, store the address of the new Scsi_Device in *sdevnew (needed when scanning a particular LUN).  

SCSI_SCAN_NO_RESPONSE

could not allocate or setup a Scsi_Device  

SCSI_SCAN_LUN_PRESENT

a new Scsi_Device was allocated and initialized


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
SCSI_SCAN_NO_RESPONSE
SCSI_SCAN_LUN_PRESENT

This document was created by man2html, using the manual pages.
Time: 13:31:48 GMT, October 06, 2005