David T Eger writes:
> Am I missing something? Is there some reason that readl() and
> writel() should byte-swap by default?
readl()/writel() are defined to access PCI memory space in units of 32
bits. PCI is by definition little-endian, PowerPC is (natively at
least) big-endian, hence the byt
> I have been working on a driver for a PowerPC PCI card/framebuffer device,
> and noticed that the standard readl() and writel() for this platform to
> byte swapping, since PowerPC runs big-endian. However, at least for my
> hardware it's *really* not needed, and should just do a regular load
>
On Mon, Jul 02, 2001 at 08:22:55PM -0400, David T Eger wrote:
>
> I have been working on a driver for a PowerPC PCI card/framebuffer device,
> and noticed that the standard readl() and writel() for this platform to
> byte swapping, since PowerPC runs big-endian. However, at least for my
> hardwa
I have been working on a driver for a PowerPC PCI card/framebuffer device,
and noticed that the standard readl() and writel() for this platform to
byte swapping, since PowerPC runs big-endian. However, at least for my
hardware it's *really* not needed, and should just do a regular load
store, as
4 matches
Mail list logo