SCSI_ALLOC_SDEV

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

 

NAME

scsi_alloc_sdev - allocate and setup a scsi_Device  

SYNOPSIS

"SYNOPSIS"

struct scsi_device * scsi_alloc_sdev (struct scsi_target * starget, unsigned int lun, void * hostdata);  

ARGUMENTS

starget
-- undescribed --
lun
-- undescribed --
hostdata
-- undescribed --
 

DESCRIPTION

Allocate, initialize for io, and return a pointer to a scsi_Device. Stores the shost, channel, id, and lun in the scsi_Device, and adds scsi_Device to the appropriate list.  

DESCRIPTION

Allocate, initialize for io, and return a pointer to a scsi_Device. Stores the shost, channel, id, and lun in the scsi_Device, and adds scsi_Device to the appropriate list.  

RETURN VALUE

scsi_Device pointer, or NULL on failure.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
DESCRIPTION
RETURN VALUE

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