mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] cciss: map out more memory for config table
@ 2006-12-12 19:51 Mike Miller (OS Dev)
  0 siblings, 0 replies; only message in thread
From: Mike Miller (OS Dev) @ 2006-12-12 19:51 UTC (permalink / raw)
  To: akpm, jens.axboe; +Cc: linux-kernel, linux-scsi

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@hp.com>

 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. */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-12 19:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-12 19:51 [PATCH 1/2] cciss: map out more memory for config table Mike Miller (OS Dev)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®