Re: [PATCH 7/8] sparc: use asm-generic/pci-dma-compat

From: David Miller
Date: Thu Jul 16 2009 - 22:38:48 EST


From: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
Date: Mon, 13 Jul 2009 15:25:59 +0900

> This converts SPARC to use asm-generic/pci-dma-compat instead of the
> homegrown mechnism.
>
> SPARC32 has two dma_map_ops structures for pci and sbus (removing
> arch/sparc/kernel/dma.c, PCI and SBUS DMA accessor). The global
> 'dma_ops' is set to sbus_dma_ops and get_dma_ops() returns
> pci32_dma_ops for pci devices so we can use the appropriate dma
> mapping operations.
>
> Signed-off-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
> Tested-by: Robert Reif <reif@xxxxxxxxxxxxx>

ACK
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/