Name

mptspi_initTarget — Target, LUN alloc/free functionality.

Synopsis

void mptspi_initTarget (MPT_SCSI_HOST * hd,
 VirtTarget * vtarget,
 struct scsi_device * sdev);
 

Arguments

hd

Pointer to MPT_SCSI_HOST structure

vtarget

per target private data

sdev

SCSI device

NOTE

It's only SAFE to call this routine if data points to sane & valid STANDARD INQUIRY data!

Allocate and initialize memory for this target. Save inquiry data.