Messages in this thread | | | Date | Fri, 12 Feb 2010 17:09:48 -0800 (PST) | Subject | Re: [PATCH -mm 1/7] sparc: unify 32bit and 64bit dma_set_mask | From | David Miller <> |
| |
From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Date: Fri, 12 Feb 2010 18:33:26 +0900
> sparc has two dma_set_mask implementations for 32bit and 64bit. They > are same except for the error returned value. We can safely unify them > since the error returned value doesn't matter as long as it is > negative (as DMA-API.txt describes). > > This patch also changes dma_set_mask not to call > pci_set_dma_mask. Instead, dma_set_mask does the same thing that > pci_set_dma_mask does. This change enables ut to change > pci_set_dma_mask to call dma_set_mask; we can implement > pci_set_dma_mask as pci-dma-compat.h does. > > Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: David S. Miller <davem@davemloft.net>
| |