m68k/atari - atari_scsi: use correct virt/phys translation for DMA buffer
authorMichael Schmitz <schmitzmic@gmail.com>
Mon, 31 Mar 2014 08:06:08 +0000 (21:06 +1300)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 26 May 2014 20:41:25 +0000 (22:41 +0200)
commita19f8165dcec3e47486f6aa5ddb72d13bb31bdf6
tree9da5e8d88a0d3932d9bd576e473cbdc244a0c369
parenta4de73fbcf10c1d64bf4f66ca1c4bcb08e4fac87
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>
drivers/scsi/atari_scsi.c