Re: [PATCH] m68k/amiga - zorro.c: allocate z->dev.dma_mask so the DMA API can work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Could you please clarify which hardware this was tested on?
To my knowledge, there are no Blizzard SCSI controllers for Amiga 4000.
The available options would be the Cyberstorm MK1 or MK2 SCSI boards, or Fastlane?

-Tuomas
________________________________________
From: linux-m68k-owner@xxxxxxxxxxxxxxx <linux-m68k-owner@xxxxxxxxxxxxxxx> on behalf of John Paul Adrian Glaubitz <glaubitz@xxxxxxxxxxxxxxxxxxx>
Sent: 01 March 2018 12:16
To: Michael Schmitz; linux-m68k@xxxxxxxxxxxxxxx
Cc: geert@xxxxxxxxxxxxxx
Subject: Re: [PATCH] m68k/amiga - zorro.c: allocate z->dev.dma_mask so the DMA API can work

On 03/01/2018 03:55 AM, Michael Schmitz wrote:
The generic DMA API uses dev->dma_mask to check the DMA addressable
memory bitmask, and warns if no mask is set or even allocated.

Allocate z->dev.dma_mask on Zorro bus scan so device drivers can use
dma_set_mask_and_coherent() to set their DMA bit mask.

Signed-off-by: Michael Schmitz <schmitzmic@xxxxxxxxx>

I can confirm that with this patch applied, the zorro_esp driver works
again on my Amiga 4000 with its Blizzard SCSI controller.

Tested-by: John Paul Adrian Glaubitz <glaubitz@xxxxxxxxxxxxxxxxxxx>

--
  .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@xxxxxxxxxx
`. `'   Freie Universitaet Berlin - glaubitz@xxxxxxxxxxxxxxxxxxx
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux