Skip to contentSkip to conversation

cciss: map out more memory for config table

PATCH In review Mike Miller (OS Dev) 1 participant 1 message Dec 12, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

 drivers/block/cciss.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--------------------------------------------------------------------------------

drivers/block/cciss.c renamed from drivers/block/cciss.c~cciss_fix_for_p600_dma +1 -1
diff -puN drivers/block/cciss.c~cciss_fix_for_p600_dma drivers/block/cciss.c
@@ -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. */