From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 1 May 2001 15:46:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 1 May 2001 15:46:30 -0400 Received: from www.linux.org.uk ([195.92.249.252]:46342 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id ; Tue, 1 May 2001 15:46:17 -0400 Date: Tue, 1 May 2001 20:45:43 +0100 From: Russell King To: Linus Torvalds Cc: linux-kernel@vger.kernel.org Subject: Re: isa_read/write not available on ppc - solution suggestions ?? Message-ID: <20010501204543.B3541@flint.arm.linux.org.uk> Mail-Followup-To: Russell King , Linus Torvalds , linux-kernel@vger.kernel.org In-Reply-To: <9cmrcv$20e$1@penguin.transmeta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <9cmrcv$20e$1@penguin.transmeta.com>; from torvalds@transmeta.com on Tue, May 01, 2001 at 10:22:39AM -0700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 01, 2001 at 10:22:39AM -0700, Linus Torvalds wrote: > I bet that the patch will be smaller too. It's a simple case of > - do the ioremap() _once_ at bootup, save the result in a static > variable somewhere. > - implement the (one-liner) isa_readx/isa_writex functions. > > On many architectures you don't even need to do the ioremap, as it's > always available (same as on x86). Talking around this issue, is there any chance of getting the official use of the first parameter to ioremap documented in Documentation/IO-mapping.txt please? There appears to be confusion as to whether it is: a) PCI bus address b) CPU untranslated address Currently, IO-mapping.txt seems to imply (a), but I believe that a lot of people on lkml will disagree with that. -- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html