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]

 



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



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

  Powered by Linux