diff options
author | jack_wang <jack_wang@usish.com> | 2009-11-05 09:32:31 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:01:30 -0500 |
commit | d0b68041bdd0e5ea6dae1210541bf124443d72ec (patch) | |
tree | 2bad62cf3df725f9d0b818d68569d24abee4f7ab /drivers/scsi/pm8001/pm8001_hwi.h | |
parent | d139b9bd0e52dda14fd13412e7096e68b56d0076 (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.h | 19 |
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 { | |||
490 | u32 reserved[12]; | 490 | u32 reserved[12]; |
491 | } __attribute__((packed, aligned(4))); | 491 | } __attribute__((packed, aligned(4))); |
492 | 492 | ||
493 | /* | ||
494 | * brief the data structure of sas_re_initialization | ||
495 | */ | ||
496 | struct sas_re_initialization_req { | ||
497 | |||
498 | __le32 tag; | ||
499 | __le32 SSAHOLT;/* bit29-set max port; | ||
500 | ** bit28-set open reject cmd retries. | ||
501 | ** bit27-set open reject data retries. | ||
502 | ** bit26-set open reject option, remap:1 or not:0. | ||
503 | ** bit25-set sata head of line time out. | ||
504 | */ | ||
505 | __le32 reserved_maxPorts; | ||
506 | __le32 open_reject_cmdretries_data_retries;/* cmd retries: 31-bit16; | ||
507 | * data retries: bit15-bit0. | ||
508 | */ | ||
509 | __le32 sata_hol_tmo; | ||
510 | u32 reserved1[10]; | ||
511 | } __attribute__((packed, aligned(4))); | ||
493 | 512 | ||
494 | /* | 513 | /* |
495 | * brief the data structure of SATA Start Command | 514 | * brief the data structure of SATA Start Command |