[SCSI] libsas: fix warnings when checking sata/stp protocol
[firefly-linux-kernel-4.4.55.git] / include / scsi / sas.h
index 07d504f3981ce5603b9b061fa12bf451139f48dc..cfdbe9501593f4037fde241f211e9e2f9ffa0185 100644 (file)
@@ -108,6 +108,7 @@ enum sas_protocol {
        SAS_PROTOCOL_STP                = 0x04,
        SAS_PROTOCOL_SSP                = 0x08,
        SAS_PROTOCOL_ALL                = 0x0E,
+       SAS_PROTOCOL_STP_ALL            = SAS_PROTOCOL_STP|SAS_PROTOCOL_SATA,
 };
 
 /* From the spec; local phys only */