James Bottomley 3b91d09c1c scsi_transport_sas: add is_sas_attached() function
Adds a function designed to be callable any time (regardless of
whether the transport attributes are configured or not) which returns
true if the device is attached over a SAS transport.  The design of
this function is that transport specific functions can be embedded
within a

if (is_sas_attached(sdev)) {
	...
}

which would be compiled out (and thus eliminate the symbols) if SAS is
not configured.

Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2015-12-18 19:06:21 -08:00
..
2012-02-19 08:08:58 -06:00
2015-08-28 13:14:57 -07:00
2015-06-01 07:32:42 -07:00
2015-11-09 17:11:57 -08:00
2014-07-17 22:07:37 +02:00
2005-04-16 15:20:36 -07:00
2015-05-18 13:35:56 -04:00