summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mvsas/mv_94xx.c
diff options
context:
space:
mode:
authorXiangliang Yu <yuxiangl@marvell.com>2011-09-29 09:35:15 +0200
committerJames Bottomley <JBottomley@Parallels.com>2011-10-02 20:18:01 +0200
commit40d3921f1dd4e1e53e10f064f0adf056f6e0f71a (patch)
tree53f08bedd0bc221149c656efb8760440e0a339e6 /drivers/scsi/mvsas/mv_94xx.c
parent[SCSI] mvsas: expander write performance enhancement (diff)
downloadlinux-40d3921f1dd4e1e53e10f064f0adf056f6e0f71a.tar.xz
linux-40d3921f1dd4e1e53e10f064f0adf056f6e0f71a.zip
[SCSI] mvsas: fixed SMP request watchdog timeout issue.
set SMP link timeout value to maximum. Signed-off-by: Xiangliang Yu <yuxiangl@marvell.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/mvsas/mv_94xx.c')
-rw-r--r--drivers/scsi/mvsas/mv_94xx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/mvsas/mv_94xx.c b/drivers/scsi/mvsas/mv_94xx.c
index 130d8036a2b5..7e423e5ad5e1 100644
--- a/drivers/scsi/mvsas/mv_94xx.c
+++ b/drivers/scsi/mvsas/mv_94xx.c
@@ -510,6 +510,10 @@ static int __devinit mvs_94xx_init(struct mvs_info *mvi)
tmp |= CINT_PHY_MASK;
mw32(MVS_INT_MASK, tmp);
+ tmp = mvs_cr32(mvi, CMD_LINK_TIMER);
+ tmp |= 0xFFFF0000;
+ mvs_cw32(mvi, CMD_LINK_TIMER, tmp);
+
/* tune STP performance */
tmp = 0x003F003F;
mvs_cw32(mvi, CMD_PL_TIMER, tmp);