'\" t .\" Title: mptspi_initTarget .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Message-based devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "MPTSPI_INITTARGET" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Message-based devices" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" mptspi_initTarget \- Target, LUN alloc/free functionality\&. .SH "SYNOPSIS" .HP \w'void\ mptspi_initTarget('u .BI "void mptspi_initTarget(MPT_SCSI_HOST\ *\ " "hd" ", VirtTarget\ *\ " "vtarget" ", struct\ scsi_device\ *\ " "sdev" ");" .SH "ARGUMENTS" .PP \fIhd\fR .RS 4 Pointer to MPT_SCSI_HOST structure .RE .PP \fIvtarget\fR .RS 4 per target private data .RE .PP \fIsdev\fR .RS 4 SCSI device .RE .SH "NOTE" .PP It\*(Aqs only SAFE to call this routine if data points to sane & valid STANDARD INQUIRY data! .PP Allocate and initialize memory for this target\&. Save inquiry data\&. .SH "COPYRIGHT" .br