[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100617.073653.193708702.davem@davemloft.net>
Date: Thu, 17 Jun 2010 07:36:53 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: fujita.tomonori@....ntt.co.jp
Cc: mchan@...adcom.com, lethal@...ux-sh.org, vapier@...too.org,
JBottomley@...ell.com, netdev@...r.kernel.org,
linux-parisc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: bnx2 fails to compile on parisc because of missing
get_dma_ops()
From: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
Date: Thu, 17 Jun 2010 21:21:13 +0900
> On Wed, 16 Jun 2010 23:24:44 -0700
> "Michael Chan" <mchan@...adcom.com> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists