summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLuben Tuikov <ltuikov@yahoo.com>2011-09-22 09:41:36 -0700
committerJames Bottomley <JBottomley@Parallels.com>2011-10-02 12:23:11 -0500
commitffaac8f45bfb2dffb78179baa5740de34058eef8 (patch)
tree653f9eae24129d54ce4df0a67bc883ed16d93dac /include
parent41e9a69641fb3fa86fa9277a179f3ad261d072f7 (diff)
[SCSI] libsas: Allow expander T-T attachments
Allow expander table-to-table attachments for expanders that support it. Signed-off-by: Luben Tuikov <ltuikov@yahoo.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include')
-rw-r--r--include/scsi/libsas.h3
-rw-r--r--include/scsi/sas.h14
2 files changed, 15 insertions, 2 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h
index af0a1deac93..ac9d80c93c6 100644
--- a/include/scsi/libsas.h
+++ b/include/scsi/libsas.h
@@ -142,8 +142,11 @@ struct expander_device {
u16 ex_change_count;
u16 max_route_indexes;
u8 num_phys;
+
+ u8 t2t_supp:1;
u8 configuring:1;
u8 conf_route_table:1;
+
u8 enclosure_logical_id[8];
struct ex_phy *ex_phy;
diff --git a/include/scsi/sas.h b/include/scsi/sas.h
index a3001add0c6..07d504f3981 100644
--- a/include/scsi/sas.h
+++ b/include/scsi/sas.h
@@ -349,7 +349,12 @@ struct report_general_resp {
u8 conf_route_table:1;
u8 configuring:1;
- u8 _r_b:6;
+ u8 config_others:1;
+ u8 orej_retry_supp:1;
+ u8 stp_cont_awt:1;
+ u8 self_config:1;
+ u8 zone_config:1;
+ u8 t2t_supp:1;
u8 _r_c;
@@ -536,7 +541,12 @@ struct report_general_resp {
u8 _r_a;
u8 num_phys;
- u8 _r_b:6;
+ u8 t2t_supp:1;
+ u8 zone_config:1;
+ u8 self_config:1;
+ u8 stp_cont_awt:1;
+ u8 orej_retry_supp:1;
+ u8 config_others:1;
u8 configuring:1;
u8 conf_route_table:1;