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

From: Mike Miller (OS Dev)
Date: Tue Dec 12 2006 - 14:51:55 EST


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 <mike.miller@xxxxxx>

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. */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/