All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dec_esp: Fix mapping of ESP.
@ 2005-10-15  1:41 Ralf Baechle
  0 siblings, 0 replies; only message in thread
From: Ralf Baechle @ 2005-10-15  1:41 UTC (permalink / raw)
  To: linux-scsi; +Cc: Andrew Morton

FYI and reviewing pleassure.

Author: Maciej W. Rozycki <macro@linux-mips.org>
Date:   Mon Jun 13 19:55:42 2005 +0000

These should really be addresses obtained with ioremap() or some
bus-specific backend, but for now...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>


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

Index: manual.git/drivers/scsi/dec_esp.c
===================================================================
--- manual.git.orig/drivers/scsi/dec_esp.c
+++ manual.git/drivers/scsi/dec_esp.c
@@ -228,7 +228,7 @@ static int dec_esp_detect(Scsi_Host_Temp
 			mem_start = get_tc_base_addr(slot);
 
 			/* Store base addr into esp struct */
-			esp->slot = PHYSADDR(mem_start);
+			esp->slot = CPHYSADDR(mem_start);
 
 			esp->dregs = 0;
 			esp->eregs = (struct ESP_regs *) (mem_start + DEC_SCSI_SREG);

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

only message in thread, other threads:[~2005-10-17 10:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-15  1:41 [PATCH] dec_esp: Fix mapping of ESP Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.