diff options
| author | Luben Tuikov <ltuikov@yahoo.com> | 2011-09-22 12:41:36 -0400 |
|---|---|---|
| committer | James Bottomley <JBottomley@Parallels.com> | 2011-10-02 13:23:11 -0400 |
| commit | ffaac8f45bfb2dffb78179baa5740de34058eef8 (patch) | |
| tree | 653f9eae24129d54ce4df0a67bc883ed16d93dac /include/scsi | |
| parent | 41e9a69641fb3fa86fa9277a179f3ad261d072f7 (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/scsi')
| -rw-r--r-- | include/scsi/libsas.h | 3 | ||||
| -rw-r--r-- | include/scsi/sas.h | 14 |
2 files changed, 15 insertions, 2 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h index af0a1deac930..ac9d80c93c68 100644 --- a/include/scsi/libsas.h +++ b/include/scsi/libsas.h | |||
| @@ -142,8 +142,11 @@ struct expander_device { | |||
| 142 | u16 ex_change_count; | 142 | u16 ex_change_count; |
| 143 | u16 max_route_indexes; | 143 | u16 max_route_indexes; |
| 144 | u8 num_phys; | 144 | u8 num_phys; |
| 145 | |||
| 146 | u8 t2t_supp:1; | ||
| 145 | u8 configuring:1; | 147 | u8 configuring:1; |
| 146 | u8 conf_route_table:1; | 148 | u8 conf_route_table:1; |
| 149 | |||
| 147 | u8 enclosure_logical_id[8]; | 150 | u8 enclosure_logical_id[8]; |
| 148 | 151 | ||
| 149 | struct ex_phy *ex_phy; | 152 | struct ex_phy *ex_phy; |
diff --git a/include/scsi/sas.h b/include/scsi/sas.h index a3001add0c66..07d504f3981c 100644 --- a/include/scsi/sas.h +++ b/include/scsi/sas.h | |||
| @@ -349,7 +349,12 @@ struct report_general_resp { | |||
| 349 | 349 | ||
| 350 | u8 conf_route_table:1; | 350 | u8 conf_route_table:1; |
| 351 | u8 configuring:1; | 351 | u8 configuring:1; |
| 352 | u8 _r_b:6; | 352 | u8 config_others:1; |
| 353 | u8 orej_retry_supp:1; | ||
| 354 | u8 stp_cont_awt:1; | ||
| 355 | u8 self_config:1; | ||
| 356 | u8 zone_config:1; | ||
| 357 | u8 t2t_supp:1; | ||
| 353 | 358 | ||
| 354 | u8 _r_c; | 359 | u8 _r_c; |
| 355 | 360 | ||
| @@ -536,7 +541,12 @@ struct report_general_resp { | |||
| 536 | u8 _r_a; | 541 | u8 _r_a; |
| 537 | u8 num_phys; | 542 | u8 num_phys; |
| 538 | 543 | ||
| 539 | u8 _r_b:6; | 544 | u8 t2t_supp:1; |
| 545 | u8 zone_config:1; | ||
| 546 | u8 self_config:1; | ||
| 547 | u8 stp_cont_awt:1; | ||
| 548 | u8 orej_retry_supp:1; | ||
| 549 | u8 config_others:1; | ||
| 540 | u8 configuring:1; | 550 | u8 configuring:1; |
| 541 | u8 conf_route_table:1; | 551 | u8 conf_route_table:1; |
| 542 | 552 | ||
