Re: SmartFirmware interrupts

Jochen Kunz <[email protected]>
Newsgroups gmane.os.netbsd.ports.ofppc
Message-ID <[email protected]>
On Fri, 19 Oct 2007 16:26:09 +0200
Frank Wille <[email protected]> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.