SysTutorials

Linux Manual Pages › Section 9

scsi_device_supports_vpd(9)

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