scsi_device_supports_vpd(9)

scsi_device_supports_vpd9

Test if a device supports vpd pages

Usage

int scsi_device_supports_vpd(struct scsi_device * sdev);

Arguments

sdev

the struct scsi_device to test

Overview

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 <[email protected]>

Author.

Rob Landley <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.