'\" t .\" Title: i2o_device_add .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Message-based devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "I2O_DEVICE_ADD" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "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" i2o_device_add \- allocate a new I2O device and add it to the IOP .SH "SYNOPSIS" .HP \w'int\ i2o_device_add('u .BI "int i2o_device_add(struct\ i2o_controller\ *\ " "c" ", i2o_lct_entry\ *\ " "entry" ");" .SH "ARGUMENTS" .PP \fIc\fR .RS 4 I2O controller that the device is on .RE .PP \fIentry\fR .RS 4 LCT entry of the I2O device .RE .SH "DESCRIPTION" .PP Allocate a new I2O device and initialize it with the LCT entry\&. The device is appended to the device list of the controller\&. .PP Returns zero on success, or a \-ve errno\&. .SH "COPYRIGHT" .br