1MPTSPI_INITTARGET(9) Message-based devices MPTSPI_INITTARGET(9)
2
3
4
6 mptspi_initTarget - Target, LUN alloc/free functionality.
7
9 void mptspi_initTarget(MPT_SCSI_HOST * hd, VirtTarget * vtarget,
10 struct scsi_device * sdev);
11
13 hd
14 Pointer to MPT_SCSI_HOST structure
15
16 vtarget
17 per target private data
18
19 sdev
20 SCSI device
21
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 2.6. November 2011 MPTSPI_INITTARGET(9)