Re: question from linuxppc group

Benjamin Herrenschmidt (
Tue, 25 Sep 2001 23:35:57 +0200

>We have a host bridge (plus PIC, mem ctlr, etc.) that is essentially
>for ppc and mips. Where is the best place to put the code since we
>don't want to
>duplicate it for both architectures?

Well, most of the PCI & interrupt frameworks are mostly arch specific.
I can't tell for MIPS, but the way you setup a PCI host bridge on PPC
was written by me and Paulus without looking at MIPS.

I don't think there is real need to have common code here. Maybe some
common definitions (register defs for example) could go into a linux/*.h


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at