linux-mips-fnet
[Top] [All Lists]

RE: patch happy madness (DS 5000/200, setup.c)

To: linux-mips@fnet.fr
Subject: RE: patch happy madness (DS 5000/200, setup.c)
From: Harald Koerfgen <Harald.Koerfgen@home.ivm.de>
Date: Fri, 23 Apr 1999 19:00:23 +0200 (MEST)
In-reply-to: <Pine.LNX.3.95.990423142501.17055M-200000@skynet.csn.ul.ie>
Organization: none
Reply-to: "Harald Koerfgen" <Harald.Koerfgen@home.ivm.de>
Sender: harry@franz.no.dom
Hello,

On 23-Apr-99 Dave Airlie wrote:
> 
> Hi,
>       please find attached a patch to linux/arch/mips/dec/setup.c,
> it fixes dec_init_kn02 to work on the DS5000/200 the only machine this
> is called from at any rate. .. I think it is correct .. can someone
> add it to whatever tree is needed .. :-) ..
>
> The DS5000/200 now boots, sends a bootp request, receives the reply
> (i.e. the interrupt handler works) ...
> and then does

Excellent job, Dave!

I tend to disagree to the first half of your patch but the second one is
obviously right. Dave, could you please check if

--- setup.c.orig        Fri Apr 23 14:22:09 1999
+++ setup.c     Fri Apr 23 14:21:09 1999
@@ -252,13 +252,13 @@
 _
     dec_interrupt[MEMORY].cpu_mask = IE_IRQ3;
     dec_interrupt[MEMORY].iemask = 0;
-    cpu_mask_tbl[1] = IE_IRQ3;
-    cpu_irq_nr[1] = MEMORY;
+    cpu_mask_tbl[2] = IE_IRQ3;
+    cpu_irq_nr[2] = MEMORY;

     dec_interrupt[FPU].cpu_mask = IE_IRQ5;
     dec_interrupt[FPU].iemask = 0;
-    cpu_mask_tbl[2] = IE_IRQ5;
-    cpu_irq_nr[2] = FPU;
+    cpu_mask_tbl[3] = IE_IRQ5;
+    cpu_irq_nr[3] = FPU;
 _
 }                              /* dec_init_kn02 */_
 
 
works as well?

[bug report]
> So kmem_cache_grow is the spot, any pointers or ideas or shall I just
> keep hacking?

Strange, I tried to reproduce that here but everything works fine.
What filesystems have you compiled in?

---
Regards,
Harald

<Prev in Thread] Current Thread [Next in Thread>