Skip to content

Commit

Permalink
dec_esp: Use physical addresses
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Maciej W. Rozycki authored and Ralf Baechle committed Oct 29, 2005
1 parent 68e4a86 commit 15b6e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/dec_esp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 15b6e09

Please sign in to comment.