Subject: Re: Undestanding ioread32() / readl() and friends

From: Florian Boelstler <[email-masked]>
Date: Wed, 21 Feb 2007 15:33:32 +0100

Hi,

Arnd Bergmann schrieb:
>> Is this a sort of general rule that ioread32() always returns 
>> little-endian values on all architectures?
> 
> the ioread family of functions is used for PCI devices, which
> are little-endian by definition.

OK, my knowledge about ioread32() was based on some explanations found 
in "Linux Device Drivers". IMHO they showed the ioread family of 
functions as a sort of general purpose functions for __iomem-alike 
resources.

Thanks, anyway.

   Florian