Hi Michael, On Tue, Dec 19, 2017 at 1:40 AM, Michael Schmitz <schmitzmic@xxxxxxxxx> wrote:
Contrary to the Mac driver, esp->command_block and esp->command_block_dma are not identical addresses on Amiga. Is there a generic way to map a DMA address (i.e., physical address AFAIK) to a kernel virtual one? (I can use esp->command_block in the reconnect message special case but not otherwise ...)
The only generic way is to use the virtual and DMA addresses as returned by the dma_map_*() functions. There may be some platform-specific legacy conversion routines around... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- 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