'\" t .\" Title: scsi_sequential_lun_scan .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "SCSI_SEQUENTIAL_LUN_" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "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_sequential_lun_scan \- sequentially scan a SCSI target .SH "SYNOPSIS" .HP \w'void\ scsi_sequential_lun_scan('u .BI "void scsi_sequential_lun_scan(struct\ scsi_target\ *\ " "starget" ", int\ " "bflags" ", int\ " "scsi_level" ", enum\ scsi_scan_mode\ " "rescan" ");" .SH "ARGUMENTS" .PP \fIstruct scsi_target * starget\fR .RS 4 pointer to target structure to scan .RE .PP \fIint bflags\fR .RS 4 black/white list flag for LUN 0 .RE .PP \fIint scsi_level\fR .RS 4 Which version of the standard does this device adhere to .RE .PP \fIenum scsi_scan_mode rescan\fR .RS 4 passed to \fBscsi_probe_add_lun\fR .RE .SH "DESCRIPTION" .PP Generally, scan from LUN 1 (LUN 0 is assumed to already have been scanned) to some maximum lun until a LUN is found with no device attached\&. Use the bflags to figure out any oddities\&. .PP Modifies sdevscan\->lun\&. .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