Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271086
b: refs/heads/master
c: 3a4b7ef
h: refs/heads/master
v: v3
  • Loading branch information
Xiangliang Yu authored and James Bottomley committed Oct 2, 2011
1 parent d85e2b3 commit 7ae0b3b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aa117dd14372e1b0bed651af2db1be670b595032
refs/heads/master: 3a4b7efe7fa8ce3822f6139cddce4bae24c9ffe6
9 changes: 9 additions & 0 deletions trunk/drivers/scsi/mvsas/mv_94xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,15 @@ static int __devinit mvs_94xx_init(struct mvs_info *mvi)
tmp |= CINT_PHY_MASK;
mw32(MVS_INT_MASK, tmp);

/* tune STP performance */
tmp = 0x003F003F;
mvs_cw32(mvi, CMD_PL_TIMER, tmp);

/* This can improve expander large block size seq write performance */
tmp = mvs_cr32(mvi, CMD_PORT_LAYER_TIMER1);
tmp |= 0xFFFF007F;
mvs_cw32(mvi, CMD_PORT_LAYER_TIMER1, tmp);

/* change the connection open-close behavior (bit 9)
* set bit8 to 1 for performance tuning */
tmp = mvs_cr32(mvi, CMD_SL_MODE0);
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/scsi/mvsas/mv_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,7 @@ enum sas_cmd_port_registers {
CMD_SL_MODE0 = 0x1BC, /* SL Mode 0 */
CMD_SL_MODE1 = 0x1C0, /* SL Mode 1 */
CMD_PND_FIFO_CTL1 = 0x1C4, /* Pending FIFO Control 1 */
CMD_PORT_LAYER_TIMER1 = 0x1E0, /* Port Layer Timer 1 */
};

enum mvs_info_flags {
Expand Down

0 comments on commit 7ae0b3b

Please sign in to comment.