Subject: Re: Motorola PowerStack II
To: Matt Thomas <matt@3am-software.com>
From: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
List: port-prep
Date: 06/02/2003 09:58:53
On 2003.06.02 06:20 Matt Thomas wrote:

> You should be using the OFW tree attributes for interrupt-parent and
> interrupt-map, and interrupt.  (See macppc).
You mean somthing like pci_attach_hook() / fixpci() / find_node_intr()
from sys/arch/macppc/pci/pci_machdep.c?

I had already a short look at the port-macppc code. The PowerStack is a
PReP machine (but doesn't supply residual data, so port-prep will not
work), so I asume things will be very similar to port-prep at the low
level. At the moment I am diging through sys/arch/prep/prep/extintr.c,
trying to understand what all this code does. Unfortunately I have no
clue about the whole interrupt handling stuff.=20

What makes me wonder is the interrupt controller. It looks to me like
this machine is using the 8259 style ISA interrupt controller even for
PCI interrupts? At least I got this impression by looking at
sys/arch/prep/prep/extintr.c and linux/arch/ppc/kernel/prep_pci.c. (This
machine is already supported my Linux.)=20

> I'd be interesting if you could dump the OFW tree and send it to me.
You mean the .properties of each OFW node? Uhm, have to write a script
for that...

> (or give me serial line access).
I would need a day or two to arrange this.=20
--=20


tsch=FC=DF,
       Jochen

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