Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:38129 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751117AbYEAP6o (ORCPT ); Thu, 1 May 2008 11:58:44 -0400 Date: Thu, 1 May 2008 11:58:26 -0400 From: Christoph Hellwig To: Michael Buesch Cc: Christoph Hellwig , Jesse Barnes , John Linville , Andi Kleen , David Miller , Alan Cox , Ingo Molnar , bcm43xx-dev@lists.berlios.de, linux-wireless@vger.kernel.org, linux-kernel Subject: Re: [PATCH 0/3] Add API for weak DMA masks Message-ID: <20080501155826.GA11188@infradead.org> (sfid-20080501_175829_698905_10B790DE) References: <200805011638.15910.mb@bu3sch.de> <200805011742.05302.mb@bu3sch.de> <20080501154358.GA3318@infradead.org> <200805011747.27469.mb@bu3sch.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <200805011747.27469.mb@bu3sch.de> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, May 01, 2008 at 05:47:26PM +0200, Michael Buesch wrote: > We've discussed that and this behaviour is not acceptable, as the driver > must know about a possible fallback in case it can do 32bit DMA > more efficiently than 64bit DMA, for example. That's what we have dma_get_required_mask() for. See Documentation/DMA-API.txt.