Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758746AbXIRTXW (ORCPT ); Tue, 18 Sep 2007 15:23:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756337AbXIRTXK (ORCPT ); Tue, 18 Sep 2007 15:23:10 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:42896 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754938AbXIRTXI (ORCPT ); Tue, 18 Sep 2007 15:23:08 -0400 Date: Tue, 18 Sep 2007 12:22:28 -0700 (PDT) From: Linus Torvalds To: "Luis R. Rodriguez" cc: Alan Cox , linux-kernel , Jeff Garzik , "John W. Linville" , linux-wireless Subject: Re: [PATCH] Clarify pci_iomap() usage for MMIO-only devices In-Reply-To: <43e72e890709181207j7c85dc29sb355a9f5a4207411@mail.gmail.com> Message-ID: References: <43e72e890709171322x76ab6b70xd29bf97e3643c553@mail.gmail.com> <20070918113401.6a8a737f@the-village.bc.nu> <43e72e890709181146s604e0f9fl8b0c16627469c77f@mail.gmail.com> <43e72e890709181207j7c85dc29sb355a9f5a4207411@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 929 Lines: 25 On Tue, 18 Sep 2007, Luis R. Rodriguez wrote: > > ACK -- driver developers use this just to save themselves a few lines > from calling pci_resource_start() and friends. How about having an > inline which does what pci_iomap() does except it doesn't call > ioport_map() ? I am just not sure where this would go.. I'm not understanding what the problem is? Why don't these people just use "ioread*()/iowrite*()"? In other words, the whole point of *not* using "read*/write*()" is that you get a whole slew of much nicer interfaces. So can people explain this fundamental issue? Why do people insist on using the old interfaces (and matching them with the new setup)? Linus - 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/