Re: Motorola PowerStack II

Jochen Kunz <[email protected]>
Newsgroups gmane.os.netbsd.ports.prep
Message-ID <[email protected]>
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. 

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.) 

> 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. 
-- 


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.