Musings on PCI busses

Grant Likely grant.likely at secretlab.ca
Thu May 21 06:06:38 EST 2009


On Wed, May 20, 2009 at 1:24 PM, David Miller <davem at davemloft.net> wrote:
>> What do you mean by fully resolve ? IE. The issue above is specific to
>> IO space, which you can resolve both as MMIO, or as "IO" which in linux
>> means going through the special mapping for IO which allows the use of
>> the inX/outX instructions...
>
> I mean that all OF devices have fully resolved MMIO resources.  So
> very early serial devices that sit in I/O space on sparc64 end
> up being OF device drivers.  See for example, drivers/net/sunsu.c
> which is simply a 8250 chip that sits behind Sun's I/O space bus
> that sits on PCI and provides things normally found via ISA on
> x86 machines.  Another example is drivers/serial/sunsab.c

Unfortunately in the embedded powerpc case we don't actually have real
OF.  We've only got the flattened device tree which usually doesn't
itemize the devices behind the PCI bus.  Instead we rely on the kernel
probing for them.

g.


-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.



More information about the Linuxppc-dev mailing list