1MPTSPI_INITTARGET(9)         Message-based devices        MPTSPI_INITTARGET(9)
2
3
4

NAME

6       mptspi_initTarget - Target, LUN alloc/free functionality.
7

SYNOPSIS

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

ARGUMENTS

13       hd
14           Pointer to MPT_SCSI_HOST structure
15
16       vtarget
17           per target private data
18
19       sdev
20           SCSI device
21

NOTE

23       It's only SAFE to call this routine if data points to sane & valid
24       STANDARD INQUIRY data!
25
26       Allocate and initialize memory for this target. Save inquiry data.
27
29Kernel Hackers Manual 3.10         June 2019              MPTSPI_INITTARGET(9)
Impressum