SysTutorials

Linux Manual Pages › Section 9

scsi_is_sas_port(9)

scsi_is_sas_port – check if a struct device represents a SAS port

Synopsis

int scsi_is_sas_port(const struct device *dev);

Arguments

dev

device to check

Return

1 if the device represents a SAS Port, 0 else

Authors

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

Author.

Rob Landley <rob [at] landley.net>

Author.

Copyright