From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: bnx2 fails to compile on parisc because of missing get_dma_ops() Date: Thu, 17 Jun 2010 07:36:53 -0700 (PDT) Message-ID: <20100617.073653.193708702.davem@davemloft.net> References: <20100617211946A.fujita.tomonori@lab.ntt.co.jp> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: mchan@broadcom.com, lethal@linux-sh.org, vapier@gentoo.org, JBottomley@novell.com, netdev@vger.kernel.org, linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org To: fujita.tomonori@lab.ntt.co.jp Return-path: In-Reply-To: <20100617211946A.fujita.tomonori@lab.ntt.co.jp> Sender: linux-parisc-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: FUJITA Tomonori Date: Thu, 17 Jun 2010 21:21:13 +0900 > On Wed, 16 Jun 2010 23:24:44 -0700 > "Michael Chan" wrote: > >> David, why is dma_is_consistent() always returning 1 on sparc? The >> streaming DMA is not consistent. > > I think that there are some confusion about dma_is_consistent(). Some > architectures think that dma_is_consistent() is supposed to return 1 > if they can allocate coherent memory (note that some architectures > can't allocate coherent memory). Right, and that's why it's defined this way. If the desired meaning is different, just me know and I'll fix the sparc definition.