Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265077AbUFRJZj (ORCPT ); Fri, 18 Jun 2004 05:25:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265055AbUFRJZC (ORCPT ); Fri, 18 Jun 2004 05:25:02 -0400 Received: from caramon.arm.linux.org.uk ([212.18.232.186]:6919 "EHLO caramon.arm.linux.org.uk") by vger.kernel.org with ESMTP id S265090AbUFRJV0 (ORCPT ); Fri, 18 Jun 2004 05:21:26 -0400 Date: Fri, 18 Jun 2004 10:21:20 +0100 From: Russell King To: Krzysztof Halasa Cc: James Bottomley , Linux Kernel , SCSI Mailing List Subject: Re: Proposal for new generic device API: dma_get_required_mask() Message-ID: <20040618102120.A29213@flint.arm.linux.org.uk> Mail-Followup-To: Krzysztof Halasa , James Bottomley , Linux Kernel , SCSI Mailing List References: <1087481331.2210.27.camel@mulgrave> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from khc@pm.waw.pl on Fri, Jun 18, 2004 at 02:46:46AM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 787 Lines: 19 On Fri, Jun 18, 2004 at 02:46:46AM +0200, Krzysztof Halasa wrote: > If we fix the API we should IMHO also remove set_dma_mask() and add > the number of address bits to the arguments of actual mapping > functions. Good idea, except for the fact that we have drivers merged which have real masks like 0x0fefffff. It _really is_ a mask and not a number of bits. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/ 2.6 Serial core - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/