>From asm/io.h:
/* On sparc64 we have the whole physical IO address space accessible
* using physically addressed loads and stores, so this does nothing.
*/
static inline void __iomem *ioremap(unsigned long offset, unsigned long size)
{
return (void __iomem *)offset;
}
It is nice to use ioremap to remain idiomatic with other
architectures, though, esp. in drivers and the like.
E
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?
>
> --
> Meelis Roos ([EMAIL PROTECTED])
> -
> 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
>
--
E
-
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