summaryrefslogtreecommitdiff
path: root/drivers/scsi/pm8001/pm8001_hwi.h
diff options
context:
space:
mode:
authorjack_wang <jack_wang@usish.com>2009-11-05 22:32:31 +0800
committerJames Bottomley <James.Bottomley@suse.de>2009-12-04 12:01:30 -0600
commitd0b68041bdd0e5ea6dae1210541bf124443d72ec (patch)
tree2bad62cf3df725f9d0b818d68569d24abee4f7ab /drivers/scsi/pm8001/pm8001_hwi.h
parentd139b9bd0e52dda14fd13412e7096e68b56d0076 (diff)
[SCSI] pm8001: add reinitialize SPC parameters before phy start
Signed-off-by: Jack Wang <jack_wang@usish.com> Signed-off-by: Lindar Liu <lindar_liu@usish.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/pm8001/pm8001_hwi.h')
-rw-r--r--drivers/scsi/pm8001/pm8001_hwi.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/scsi/pm8001/pm8001_hwi.h b/drivers/scsi/pm8001/pm8001_hwi.h
index 3690a2ba0eb2..96e4daa68b8f 100644
--- a/drivers/scsi/pm8001/pm8001_hwi.h
+++ b/drivers/scsi/pm8001/pm8001_hwi.h
@@ -490,6 +490,25 @@ struct set_dev_state_req {
u32 reserved[12];
} __attribute__((packed, aligned(4)));
+/*
+ * brief the data structure of sas_re_initialization
+ */
+struct sas_re_initialization_req {
+
+ __le32 tag;
+ __le32 SSAHOLT;/* bit29-set max port;
+ ** bit28-set open reject cmd retries.
+ ** bit27-set open reject data retries.
+ ** bit26-set open reject option, remap:1 or not:0.
+ ** bit25-set sata head of line time out.
+ */
+ __le32 reserved_maxPorts;
+ __le32 open_reject_cmdretries_data_retries;/* cmd retries: 31-bit16;
+ * data retries: bit15-bit0.
+ */
+ __le32 sata_hol_tmo;
+ u32 reserved1[10];
+} __attribute__((packed, aligned(4)));
/*
* brief the data structure of SATA Start Command