1SCSI_SEQUENTIAL_LUN_(9) SCSI mid layer SCSI_SEQUENTIAL_LUN_(9)
2
3
4
6 scsi_sequential_lun_scan - sequentially scan a SCSI target
7
9 void scsi_sequential_lun_scan(struct scsi_target * starget, int bflags,
10 int scsi_level,
11 enum scsi_scan_mode rescan);
12
14 starget
15 pointer to target structure to scan
16
17 bflags
18 black/white list flag for LUN 0
19
20 scsi_level
21 Which version of the standard does this device adhere to
22
23 rescan
24 passed to scsi_probe_add_lun
25
27 Generally, scan from LUN 1 (LUN 0 is assumed to already have been
28 scanned) to some maximum lun until a LUN is found with no device
29 attached. Use the bflags to figure out any oddities.
30
31 Modifies sdevscan->lun.
32
34 James Bottomley <James.Bottomley@hansenpartnership.com>
35 Author.
36
37 Rob Landley <rob@landley.net>
38 Author.
39
41Kernel Hackers Manual 3.10 June 2019 SCSI_SEQUENTIAL_LUN_(9)