scsi_device_supports_vpd(9) - phpMan
SCSI_DEVICE_SUPPORTS(9) SCSI mid layer SCSI_DEVICE_SUPPORTS(9)
NAME
scsi_device_supports_vpd - test if a device supports VPD pages
SYNOPSIS
int scsi_device_supports_vpd(struct scsi_device * sdev);
ARGUMENTS
sdev
the struct scsi_device to test
DESCRIPTION
If the 'try_vpd_pages' flag is set it takes precedence. Otherwise we will assume VPD pages
are supported if the SCSI level is at least SPC-3 and 'skip_vpd_pages' is not set.
AUTHORS
James Bottomley <James.Bottomley AT hansenpartnership.com>
Author.
Rob Landley <rob AT landley.net>
Author.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 SCSI_DEVICE_SUPPORTS(9)
|