Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42747
b: refs/heads/master
c: f92e2f5
h: refs/heads/master
i:
  42745: 412d998
  42743: 7a3db4b
v: v3
  • Loading branch information
Mike Miller authored and Linus Torvalds committed Dec 7, 2006
1 parent 2607d59 commit f0cd019
Show file tree
Hide file tree
Showing 3 changed files with 13 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: de9239167158c0210c5b9a709d67cea1b6f8ae56
refs/heads/master: f92e2f5f889803306e50c06e17ee330403e91b8d
11 changes: 11 additions & 0 deletions trunk/drivers/block/cciss.c
Original file line number Diff line number Diff line change
Expand Up @@ -3003,6 +3003,17 @@ static int cciss_pci_init(ctlr_info_t *c, struct pci_dev *pdev)
}
#endif

/* Disabling DMA prefetch for the P600
* An ASIC bug may result in a prefetch beyond
* physical memory.
*/
if(board_id == 0x3225103C) {
__u32 dma_prefetch;
dma_prefetch = readl(c->vaddr + I2O_DMA1_CFG);
dma_prefetch |= 0x8000;
writel(dma_prefetch, c->vaddr + I2O_DMA1_CFG);
}

#ifdef CCISS_DEBUG
printk("Trying to put board into Simple mode\n");
#endif /* CCISS_DEBUG */
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/block/cciss_cmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
#define I2O_INT_MASK 0x34
#define I2O_IBPOST_Q 0x40
#define I2O_OBPOST_Q 0x44
#define I2O_DMA1_CFG 0x214

//Configuration Table
#define CFGTBL_ChangeReq 0x00000001l
Expand Down

0 comments on commit f0cd019

Please sign in to comment.