mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
[SCSI] dec_esp: Fix mapping of ESP.
From: 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> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
72df8325f4
commit
b04fc67905
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue