mesh in 2.4.0-test1

Benjamin Herrenschmidt bh40 at calva.net
Fri Jan 1 08:50:06 EST 1904


On Sun, Jun 4, 2000, Geert Uytterhoeven <geert at linux-m68k.org> wrote:

>After 3 days of hacking, I found it. The new Core99 interrupt tree code
>doesn't
>take into account that on CHRP boxes with both ISA and OpenPIC, the interrupt
>numbers have to be fixed up. Below is the patch that made it work for me.
>
>Before I check it in into bitkeeper: should I replace the test
>
>    _machine == _MACH_chrp
>
>by
>
>    !strncmp(model, "IBM,LongTrail", 13)
>
>or are there other CHRP models bitten by this as well?

After reading the code more closely, it appear that I spoke to quickly:
_machine is initialized before finish_device_tree() in all cases. I
beleive this problem will happen with all CHRPs since all of them have an
ISA legacy controller. So I'll keep the test
as it is, and I'll merge the fix into bk today for both 2.2 and 2.4 along
with some other prom.c changes I have here.

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list