From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt To: Geert Uytterhoeven , Subject: Re: mesh in 2.4.0-test1 Date: Sun, 4 Jun 2000 22:03:56 +0200 Message-Id: <20000604200356.7446@192.168.1.10> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: On Sun, Jun 4, 2000, Geert Uytterhoeven 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/