From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:32891 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1758930AbYEAQhl (ORCPT ); Thu, 1 May 2008 12:37:41 -0400 Date: Thu, 1 May 2008 17:29:13 +0100 From: Alan Cox To: Christoph Hellwig Cc: Michael Buesch , Jesse Barnes , John Linville , Andi Kleen , David Miller , 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: <20080501172913.08975881@core> (sfid-20080501_183725_209704_43B7C56A) In-Reply-To: <20080501153618.GA470@infradead.org> References: <200805011638.15910.mb@bu3sch.de> <20080501153618.GA470@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-wireless-owner@vger.kernel.org List-ID: > Why do we need it? Is the call to set the 32bit mask when it fails > a too big burden for the driver author? We have tons of drivers that go try and set 64bit oh failed try and set 32 bit oh worked When what most actually want is "set it no more than this wide" - a request or even a "pci_set_best_mask()" type idea. Lots less code duplication.