Skip to content
Snippets Groups Projects
Commit 15b6e09b authored by Maciej W. Rozycki's avatar Maciej W. Rozycki Committed by Ralf Baechle
Browse files

dec_esp: Use physical addresses


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

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 68e4a86c
No related branches found
No related tags found
No related merge requests found
...@@ -228,7 +228,7 @@ static int dec_esp_detect(Scsi_Host_Template * tpnt) ...@@ -228,7 +228,7 @@ static int dec_esp_detect(Scsi_Host_Template * tpnt)
mem_start = get_tc_base_addr(slot); mem_start = get_tc_base_addr(slot);
/* Store base addr into esp struct */ /* Store base addr into esp struct */
esp->slot = PHYSADDR(mem_start); esp->slot = CPHYSADDR(mem_start);
esp->dregs = 0; esp->dregs = 0;
esp->eregs = (struct ESP_regs *) (mem_start + DEC_SCSI_SREG); esp->eregs = (struct ESP_regs *) (mem_start + DEC_SCSI_SREG);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment