2006-12-12 19:51:35

by Mike Miller (OS Dev)

[permalink] [raw]
Subject: [PATCH 1/2] cciss: map out more memory for config table

PATCH 1/2

This patch maps out more memory for our config table. It's required to reach offset 0x214 to disable DMA on the P600. I'm not sure how I lost this hunk.
Please consider this for inclusion.

Thanks,
mikem

Signed-off-by: Mike Miller <[email protected]>

drivers/block/cciss.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--------------------------------------------------------------------------------
diff -puN drivers/block/cciss.c~cciss_fix_for_p600_dma drivers/block/cciss.c
--- linux-2.6-work/drivers/block/cciss.c~cciss_fix_for_p600_dma 2006-12-11 15:20:07.000000000 -0600
+++ linux-2.6-work-mikem/drivers/block/cciss.c 2006-12-11 15:21:33.000000000 -0600
@@ -2865,7 +2865,7 @@ static int cciss_pci_init(ctlr_info_t *c
#ifdef CCISS_DEBUG
printk("address 0 = %x\n", c->paddr);
#endif /* CCISS_DEBUG */
- c->vaddr = remap_pci_mem(c->paddr, 200);
+ c->vaddr = remap_pci_mem(c->paddr, 0x250);

/* Wait for the board to become ready. (PCI hotplug needs this.)
* We poll for up to 120 secs, once per 100ms. */