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

NAME

6       scsi_device_supports_vpd - test if a device supports VPD pages
7

SYNOPSIS

9       int scsi_device_supports_vpd(struct scsi_device * sdev);
10

ARGUMENTS

12       sdev
13           the struct scsi_device to test
14

DESCRIPTION

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

AUTHORS

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)
Impressum