dec_esp: Use physical addresses
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 13 Jun 2005 19:55:42 +0000 (19:55 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:31:20 +0000 (19:31 +0100)
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

index 315f95a0d6c007b5e9a262ed5730a4651f5b4799..4f39890b44ac59c0867418c2562e9e73bc835bbc 100644 (file)
@@ -228,7 +228,7 @@ static int dec_esp_detect(Scsi_Host_Template * tpnt)
                        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);