SCSI_ALLOC_SDEV

Section: ()
Updated: 06 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_Host * shost, uint channel, uint id, uint lun);  

ARGUMENTS

shost
-- undescribed --
channel
-- undescribed --
id
-- undescribed --
lun
-- 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: 06:21:07 GMT, October 06, 2005