diff options
author | Xiangliang Yu <yuxiangl@marvell.com> | 2011-09-29 03:34:11 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-10-02 14:14:00 -0400 |
commit | 07f098e6f4a9a488605d6a3a13ce2805023a0384 (patch) | |
tree | 62b3c08b04b566645987ea55f86b6fe369114c79 | |
parent | 477f6d190bdebc9a3ec99e4bb396b981f747bf19 (diff) |
[SCSI] mvsas: fixed wrong destination when hiting NAK for command frame
disable non data frame retry
Signed-off-by: Xiangliang Yu <yuxiangl@marvell.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r-- | drivers/scsi/mvsas/mv_94xx.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/scsi/mvsas/mv_94xx.c b/drivers/scsi/mvsas/mv_94xx.c index 8f32c7c567cf..ce4e970bcedf 100644 --- a/drivers/scsi/mvsas/mv_94xx.c +++ b/drivers/scsi/mvsas/mv_94xx.c | |||
@@ -398,6 +398,16 @@ static int __devinit mvs_94xx_init(struct mvs_info *mvi) | |||
398 | /* init phys */ | 398 | /* init phys */ |
399 | mvs_phy_hacks(mvi); | 399 | mvs_phy_hacks(mvi); |
400 | 400 | ||
401 | /* disable non data frame retry */ | ||
402 | tmp = mvs_cr32(mvi, CMD_SAS_CTL1); | ||
403 | if ((revision == VANIR_A0_REV) || | ||
404 | (revision == VANIR_B0_REV) || | ||
405 | (revision == VANIR_C0_REV)) { | ||
406 | tmp &= ~0xffff; | ||
407 | tmp |= 0x007f; | ||
408 | mvs_cw32(mvi, CMD_SAS_CTL1, tmp); | ||
409 | } | ||
410 | |||
401 | /* set LED blink when IO*/ | 411 | /* set LED blink when IO*/ |
402 | mw32(MVS_PA_VSR_ADDR, VSR_PHY_ACT_LED); | 412 | mw32(MVS_PA_VSR_ADDR, VSR_PHY_ACT_LED); |
403 | tmp = mr32(MVS_PA_VSR_PORT); | 413 | tmp = mr32(MVS_PA_VSR_PORT); |