1SCSI_DEVICE_SUPPORTS(9) SCSI mid layer SCSI_DEVICE_SUPPORTS(9)
2
3
4
6 scsi_device_supports_vpd - test if a device supports VPD pages
7
9 int scsi_device_supports_vpd(struct scsi_device * sdev);
10
12 sdev
13 the struct scsi_device to test
14
16 If the 'try_vpd_pages' flag is set it takes precedence. Otherwise we
17 will assume VPD pages are supported if the SCSI level is at least SPC-3
18 and 'skip_vpd_pages' is not set.
19
21 James Bottomley <James.Bottomley@hansenpartnership.com>
22 Author.
23
24 Rob Landley <rob@landley.net>
25 Author.
26
28Kernel Hackers Manual 3.10 June 2019 SCSI_DEVICE_SUPPORTS(9)