SysTutorials

Linux Manual Pages › Section 9

scsi_is_sas_phy(9)

scsi_is_sas_phy – check if a struct device represents a SAS PHY

Synopsis

int scsi_is_sas_phy(const struct device *dev);

Arguments

dev

device to check

Return

1 if the device represents a SAS PHY, 0 else

Authors

James Bottomley <James.Bottomley [at] hansenpartnership.com>

Author.

Rob Landley <rob [at] landley.net>

Author.

Copyright