aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/sas.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi/sas.h')
-rw-r--r--include/scsi/sas.h24
1 files changed, 22 insertions, 2 deletions
diff --git a/include/scsi/sas.h b/include/scsi/sas.h
index e9fd02281381..3673d685e6ad 100644
--- a/include/scsi/sas.h
+++ b/include/scsi/sas.h
@@ -108,6 +108,7 @@ enum sas_protocol {
108 SAS_PROTOCOL_STP = 0x04, 108 SAS_PROTOCOL_STP = 0x04,
109 SAS_PROTOCOL_SSP = 0x08, 109 SAS_PROTOCOL_SSP = 0x08,
110 SAS_PROTOCOL_ALL = 0x0E, 110 SAS_PROTOCOL_ALL = 0x0E,
111 SAS_PROTOCOL_STP_ALL = SAS_PROTOCOL_STP|SAS_PROTOCOL_SATA,
111}; 112};
112 113
113/* From the spec; local phys only */ 114/* From the spec; local phys only */
@@ -121,6 +122,7 @@ enum phy_func {
121 PHY_FUNC_TX_SATA_PS_SIGNAL, 122 PHY_FUNC_TX_SATA_PS_SIGNAL,
122 PHY_FUNC_RELEASE_SPINUP_HOLD = 0x10, /* LOCAL PORT ONLY! */ 123 PHY_FUNC_RELEASE_SPINUP_HOLD = 0x10, /* LOCAL PORT ONLY! */
123 PHY_FUNC_SET_LINK_RATE, 124 PHY_FUNC_SET_LINK_RATE,
125 PHY_FUNC_GET_EVENTS,
124}; 126};
125 127
126/* SAS LLDD would need to report only _very_few_ of those, like BROADCAST. 128/* SAS LLDD would need to report only _very_few_ of those, like BROADCAST.
@@ -195,6 +197,14 @@ enum sas_open_rej_reason {
195 SAS_OREJ_RSVD_RETRY = 18, 197 SAS_OREJ_RSVD_RETRY = 18,
196}; 198};
197 199
200enum sas_gpio_reg_type {
201 SAS_GPIO_REG_CFG = 0,
202 SAS_GPIO_REG_RX = 1,
203 SAS_GPIO_REG_RX_GP = 2,
204 SAS_GPIO_REG_TX = 3,
205 SAS_GPIO_REG_TX_GP = 4,
206};
207
198struct dev_to_host_fis { 208struct dev_to_host_fis {
199 u8 fis_type; /* 0x34 */ 209 u8 fis_type; /* 0x34 */
200 u8 flags; 210 u8 flags;
@@ -341,7 +351,12 @@ struct report_general_resp {
341 351
342 u8 conf_route_table:1; 352 u8 conf_route_table:1;
343 u8 configuring:1; 353 u8 configuring:1;
344 u8 _r_b:6; 354 u8 config_others:1;
355 u8 orej_retry_supp:1;
356 u8 stp_cont_awt:1;
357 u8 self_config:1;
358 u8 zone_config:1;
359 u8 t2t_supp:1;
345 360
346 u8 _r_c; 361 u8 _r_c;
347 362
@@ -528,7 +543,12 @@ struct report_general_resp {
528 u8 _r_a; 543 u8 _r_a;
529 u8 num_phys; 544 u8 num_phys;
530 545
531 u8 _r_b:6; 546 u8 t2t_supp:1;
547 u8 zone_config:1;
548 u8 self_config:1;
549 u8 stp_cont_awt:1;
550 u8 orej_retry_supp:1;
551 u8 config_others:1;
532 u8 configuring:1; 552 u8 configuring:1;
533 u8 conf_route_table:1; 553 u8 conf_route_table:1;
534 554