lkml.org 
[lkml]   [2010]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH -mm 1/7] sparc: unify 32bit and 64bit dma_set_mask
From
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>


\
 
 \ /
  Last update: 2010-02-13 02:11    [W:0.041 / U:3.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site