1SCSI_ADD_SINGLE_DEVI(9)         SCSI mid layer         SCSI_ADD_SINGLE_DEVI(9)
2
3
4

NAME

6       scsi_add_single_device - Respond to user request to probe for/add
7       device
8

SYNOPSIS

10       int scsi_add_single_device(uint host, uint channel, uint id, uint lun);
11

ARGUMENTS

13       host
14           user-supplied decimal integer
15
16       channel
17           user-supplied decimal integer
18
19       id
20           user-supplied decimal integer
21
22       lun
23           user-supplied decimal integer
24

DESCRIPTION

26       called by writing “scsi add-single-device” to /proc/scsi/scsi.
27
28       does scsi_host_lookup and either user_scan if that transport type
29       supports it, or else scsi_scan_host_selected
30

NOTE

32       this seems to be aimed exclusively at SCSI parallel busses.
33

AUTHORS

35       James Bottomley <James.Bottomley@hansenpartnership.com>
36           Author.
37
38       Rob Landley <rob@landley.net>
39           Author.
40
42Kernel Hackers Manual 3.10         June 2019           SCSI_ADD_SINGLE_DEVI(9)
Impressum