Subject: Re: SmartFirmware interrupts
To: None <port-ofppc@NetBSD.org>
From: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
List: port-ofppc
Date: 10/20/2007 10:18:06
On Fri, 19 Oct 2007 16:26:09 +0200
Frank Wille <frank@phoenix.owl.de> 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).
--=20


tsch=FC=DF,
       Jochen

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