'\" t .\" Title: scsi_add_single_device .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SCSI_ADD_SINGLE_DEVI" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "SCSI mid layer" .\" ----------------------------------------------------------------- .\" * 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" scsi_add_single_device \- Respond to user request to probe for/add device .SH "SYNOPSIS" .HP \w'int\ scsi_add_single_device('u .BI "int scsi_add_single_device(uint\ " "host" ", uint\ " "channel" ", uint\ " "id" ", uint\ " "lun" ");" .SH "ARGUMENTS" .PP \fIhost\fR .RS 4 user\-supplied decimal integer .RE .PP \fIchannel\fR .RS 4 user\-supplied decimal integer .RE .PP \fIid\fR .RS 4 user\-supplied decimal integer .RE .PP \fIlun\fR .RS 4 user\-supplied decimal integer .RE .SH "DESCRIPTION" .PP called by writing \(lqscsi add\-single\-device\(rq to /proc/scsi/scsi\&. .PP does \fBscsi_host_lookup\fR and either \fBuser_scan\fR if that transport type supports it, or else \fBscsi_scan_host_selected\fR .SH "NOTE" .PP this seems to be aimed exclusively at SCSI parallel busses\&. .SH "AUTHORS" .PP \fBJames Bottomley\fR <\&James.Bottomley@hansenpartnership.com\&> .RS 4 Author. .RE .PP \fBRob Landley\fR <\&rob@landley.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br