From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from outmx016.isp.belgacom.be (outmx016.isp.belgacom.be [195.238.4.115]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id C4272DDE28 for ; Mon, 29 Jan 2007 19:07:31 +1100 (EST) Received: from outmx016.isp.belgacom.be (localhost [127.0.0.1]) by outmx016.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-OUT-2.22) with ESMTP id l0T87L9G026408 for ; Mon, 29 Jan 2007 09:07:22 +0100 (envelope-from ) Message-ID: <45BDAB22.30908@246tNt.com> Date: Mon, 29 Jan 2007 09:06:58 +0100 From: Sylvain Munaut MIME-Version: 1.0 To: Eric Nuckols Subject: Re: mem=XXXM ioremap DMA References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Eric Nuckols wrote: > in my driver, I'm calling > my_virt_address = ioremap( 0x1F800000, 0x800000 ); > my_bus_address = virt_to_bus( my_virt_address ); > You can't use virt_to_bus on address returned by ioremap AFAIK. I think you could do my_bus_address = virt_to_bus(phys_to_virt(0x1f800000)); Altough it slightly misuse the functions ... but that should work. Sylvain