diff options
author | Michael Schmitz <schmitzmic@gmail.com> | 2014-03-31 21:06:08 +1300 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2014-05-26 22:41:25 +0200 |
commit | a19f8165dcec3e47486f6aa5ddb72d13bb31bdf6 (patch) | |
tree | 9da5e8d88a0d3932d9bd576e473cbdc244a0c369 /drivers/scsi/atari_scsi.c | |
parent | a4de73fbcf10c1d64bf4f66ca1c4bcb08e4fac87 (diff) | |
download | blackbird-op-linux-a19f8165dcec3e47486f6aa5ddb72d13bb31bdf6.tar.gz blackbird-op-linux-a19f8165dcec3e47486f6aa5ddb72d13bb31bdf6.zip |
m68k/atari - atari_scsi: use correct virt/phys translation for DMA buffer
With the kernel running from FastRAM instead of ST-RAM, none of ST-RAM is
mapped by mem_init, and DMA-addressable buffer must be mapped by ioremap.
Use platform specific virt/phys translation helpers for this case.
Signed-off-by: Michael Schmitz <schmitz@debian.org>
Cc: linux-scsi@vger.kernel.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'drivers/scsi/atari_scsi.c')
-rw-r--r-- | drivers/scsi/atari_scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/atari_scsi.c b/drivers/scsi/atari_scsi.c index 296c936cc03c..a8d721ff19eb 100644 --- a/drivers/scsi/atari_scsi.c +++ b/drivers/scsi/atari_scsi.c @@ -639,7 +639,7 @@ static int __init atari_scsi_detect(struct scsi_host_template *host) "double buffer\n"); return 0; } - atari_dma_phys_buffer = virt_to_phys(atari_dma_buffer); + atari_dma_phys_buffer = atari_stram_to_phys(atari_dma_buffer); atari_dma_orig_addr = 0; } #endif |