1SCSI_GET_DEVICE_FLAG(9) SCSI mid layer SCSI_GET_DEVICE_FLAG(9)
2
3
4
6 scsi_get_device_flags - get device specific flags from the dynamic
7 device list.
8
10 int scsi_get_device_flags(struct scsi_device * sdev,
11 const unsigned char * vendor,
12 const unsigned char * model);
13
15 sdev
16 scsi_device to get flags for
17
18 vendor
19 vendor name
20
21 model
22 model name
23
25 Search the global scsi_dev_info_list (specified by list zero) for an
26 entry matching vendor and model, if found, return the matching flags
27 value, else return the host or global default settings. Called during
28 scan time.
29
31 James Bottomley <James.Bottomley@hansenpartnership.com>
32 Author.
33
34 Rob Landley <rob@landley.net>
35 Author.
36
38Kernel Hackers Manual 3.10 June 2019 SCSI_GET_DEVICE_FLAG(9)