Port-ofppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SmartFirmware interrupts



On Fri, 19 Oct 2007 16:26:09 +0200
Frank Wille <frank%phoenix.owl.de@localhost> wrote:

> This was just an example? Or why is the base address of the IO
> space 0xf1000000? What in the OFW-tree tells me to use this address?
The ranges property of the PCI and ISA bus nodes will tell you the
address mapping. Have a look into ofppc/pci/ofpci.c, especially
init_spaces(), from my hacked up ofppc code. It reads and decodes the
ranges property of the PCI and ISA bus nodes and does quite some
gueswork to initialize bus_space(9).
-- 


tschüß,
       Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/




Home | Main Index | Thread Index | Old Index