Subject: Re: IBM405GP/GPr OPB bus_space endian (powerpc/ibm4xx/dev/opb.c)
To: None <>
From: Izumi Tsutsui <>
List: port-powerpc
Date: 10/04/2005 21:31:46
In article <> wrote:

>  static struct powerpc_bus_space opb_tag = {
>  	0x0, IBM405GP_UART0_BASE, 0x1000
>  };
> Why it is Little-Endian in spite of CPU byte-order (Big-Endian) ?
> Is there any special reason?

I think it's just because most powerpc ports (bebox, macppc etc.)
have only little endian bus like PCI, ISA, and obio.
(mvmeppc port doesn't support VME bus!?)

> If there is no reason, I want to change bus_space byte-order
> from Little to Big.
> Is it ok?

Maybe it's okay, but you may have to check if there are
any bus_space usage where stream ops are required in
existing opb drivers.
Izumi Tsutsui