On Thu, 10 Mar 2005 14:42:56 +0200 (EET)
Meelis Roos <[EMAIL PROTECTED]> wrote:

> While trying to see if I can cleanly fix the iomem warnings for sparc 
> floppy, I came to stop ath this code at asm/floppy.5:653
> 
>                  /* XXX ioremap */
>                  sun_pci_fd_ebus_dma.regs = edev->resource[1].start;
> 
> I can understand why someone did put a XXX there but why does it work 
> this way?

On sparc64, we store the physical I/O address in the resources,
and that is what the I/O accessor routines take as well.

Therefore ioremap() just pass the address through unchanged, they
are just a NOP.
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to