From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by ozlabs.org (Postfix) with ESMTP id 5A5A0DDE10 for ; Tue, 23 Oct 2007 19:17:49 +1000 (EST) From: Arnd Bergmann To: linuxppc-embedded@ozlabs.org Subject: Re: Difference between ioremap() and phy_to_virt() Kernel function Date: Tue, 23 Oct 2007 11:11:42 +0200 References: <13339930.post@talk.nabble.com> <200710221304.44275.arnd@arndb.de> <13357088.post@talk.nabble.com> In-Reply-To: <13357088.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Message-Id: <200710231111.43062.arnd@arndb.de> Cc: Misbah khan List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tuesday 23 October 2007, Misbah khan wrote: > But i wish to know that could i use phy_to_virt() function in place io > ioremap() ????? Sorry to disappoint you there, but you can't. > And could you give me an example where we could use phy_to_virt(). Not really, I can't think of any correct use of phys_to_virt on powerpc. Arnd <><