[Top] [All Lists]

Re: set_io_port_base()?

To: Jun Sun <>
Subject: Re: set_io_port_base()?
From: Ralf Baechle <>
Date: Thu, 21 Feb 2002 04:30:33 +0100
Cc: Matthew Dharm <>, Linux-MIPS <>
In-reply-to: <>; from on Wed, Feb 20, 2002 at 06:27:23PM -0800
References: <> <> <> <>
User-agent: Mutt/1.2.5i
On Wed, Feb 20, 2002 at 06:27:23PM -0800, Jun Sun wrote:

> This is actually right.  This way if you pass an virtual at
> (mips_io_port_base + delta), you will get a physical address
> (GT_PCI_IO_BASE + delta), the desired place.
> Most boards don't need this funky ioremap() and base addr substraction trick,
> but ocelot has the IO address placed beyond normal kseg1 addressing range.

If you ever think about the value of the the address you're making
something wrong ...


<Prev in Thread] Current Thread [Next in Thread>