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 ... Ralf