diff options
author | Nikith Ganigarakoppal <Nikith.Ganigarakoppal@pmcs.com> | 2013-10-30 16:23:47 +0530 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-12-02 10:35:52 -0800 |
commit | 7d029005484a6125a91a075518b9cfde830bc709 (patch) | |
tree | 17fc58a081ffcd246b5f4cf968b0146250a181d7 /drivers/scsi/pm8001/pm80xx_hwi.h | |
parent | 34a9b81b476ea0fa7a2e7ec642830f690eb093aa (diff) |
[SCSI] pm80xx: Resetting the phy state.
Setting the phy state for hard reset response.
After sending hard reset for a device ,phy down event sets
the phy state to zero but for phy up event it will not set
the phy state again.This will cause problem to successive
hard resets.
Signed-off-by: Nikith.Ganigarakoppal@pmcs.com
Signed-off-by: Anandkumar.Santhanam@pmcs.com
Reviewed-by: Jack Wang <jinpu.wang@profitbricks.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/pm8001/pm80xx_hwi.h')
-rw-r--r-- | drivers/scsi/pm8001/pm80xx_hwi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/pm8001/pm80xx_hwi.h b/drivers/scsi/pm8001/pm80xx_hwi.h index c86816bea424..9970a385795d 100644 --- a/drivers/scsi/pm8001/pm80xx_hwi.h +++ b/drivers/scsi/pm8001/pm80xx_hwi.h @@ -215,6 +215,8 @@ #define SAS_DOPNRJT_RTRY_TMO 128 #define SAS_COPNRJT_RTRY_TMO 128 +/* for phy state */ +#define PHY_STATE_LINK_UP_SPCV 0x2 /* Making ORR bigger than IT NEXUS LOSS which is 2000000us = 2 second. Assuming a bigger value 3 second, 3000000/128 = 23437.5 where 128 |