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
17 scsi_device to get flags for
18
19 vendor
20 vendor name
21
22 model
23 model name
24
26 Search the global scsi_dev_info_list (specified by list zero) for an
27 entry matching vendor and model, if found, return the matching flags
28 value, else return the host or global default settings. Called during
29 scan time.
30
32 James Bottomley <James.Bottomley@hansenpartnership.com>
33 Author.
34
35 Rob Landley <rob@landley.net>
36 Author.
37
39Kernel Hackers Manual 2.6. June 2019 SCSI_GET_DEVICE_FLAG(9)