Messages in this thread | | | Date | Thu, 16 Jul 2009 19:38:45 -0700 (PDT) | Subject | Re: [PATCH 7/8] sparc: use asm-generic/pci-dma-compat | From | David Miller <> |
| |
From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> 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@lab.ntt.co.jp> > Tested-by: Robert Reif <reif@earthlink.net>
ACK
| |