public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
* [PATCH 1/2] m68k/atari - ataflop: use correct virt/phys translation for DMA buffer
@ 2014-03-23  1:24 Michael Schmitz
  2014-03-23  1:24 ` [PATCH 2/2] m68k/atari - atari_scsi: " Michael Schmitz
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Schmitz @ 2014-03-23  1:24 UTC (permalink / raw)
  To: linux-m68k; +Cc: geert, debian-68k, Michael Schmitz

---
 drivers/block/ataflop.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/block/ataflop.c b/drivers/block/ataflop.c
index 0e30c6e..f54655a 100644
--- a/drivers/block/ataflop.c
+++ b/drivers/block/ataflop.c
@@ -1952,7 +1952,7 @@ static int __init atari_floppy_init (void)
 		goto Enomem;
 	}
 	TrackBuffer = DMABuffer + 512;
-	PhysDMABuffer = virt_to_phys(DMABuffer);
+	PhysDMABuffer = atari_stram_to_phys(DMABuffer);
 	PhysTrackBuffer = virt_to_phys(TrackBuffer);
 	BufferDrive = BufferSide = BufferTrack = -1;
 
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 2/2] m68k/atari - atari_scsi: use correct virt/phys translation for DMA buffer
  2014-03-23  1:24 [PATCH 1/2] m68k/atari - ataflop: use correct virt/phys translation for DMA buffer Michael Schmitz
@ 2014-03-23  1:24 ` Michael Schmitz
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Schmitz @ 2014-03-23  1:24 UTC (permalink / raw)
  To: linux-m68k; +Cc: geert, debian-68k, Michael Schmitz

---
 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 296c936..a8d721f 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
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-23  1:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-23  1:24 [PATCH 1/2] m68k/atari - ataflop: use correct virt/phys translation for DMA buffer Michael Schmitz
2014-03-23  1:24 ` [PATCH 2/2] m68k/atari - atari_scsi: " Michael Schmitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox