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

fixes for linux/mips 2.0.0 on jazz platforms

To: linux-mips@fnet.fr
Subject: fixes for linux/mips 2.0.0 on jazz platforms
From: Thomas Bogendoerfer <tsbogend@bigbug.franken.de>
Date: Sat, 22 Jun 1996 11:11:43 +0200 (MET DST)
Reply-to: tsbogend@bigbug.franken.de
It looks like Ralf only works on his RM200:-)

Here is the necessary to patch to make compiling for a Olivetti M700
possible.

Thomas.


Index: arch/mips/jazz/Makefile
===================================================================
RCS file: /usr/src/cvs/linux-mips/arch/mips/jazz/Makefile,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 Makefile
--- Makefile    1996/06/22 00:05:34     1.1.1.3
+++ Makefile    1996/06/22 09:04:27
@@ -13,7 +13,7 @@
 
 all: jazz.o
 O_TARGET := jazz.o
-O_OBJS  := hw-access.o int-handler.o jazzdma.o setup.o
+O_OBJS  := hw-access.o int-handler.o jazzdma.o setup.o g364.o
 
 ifdef CONFIG_MIPS_MAGNUM_4000
 L_OBJS += g364.o
Index: arch/mips/jazz/jazzdma.c
===================================================================
RCS file: /usr/src/cvs/linux-mips/arch/mips/jazz/jazzdma.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 jazzdma.c
--- jazzdma.c   1996/06/22 00:05:35     1.1.1.2
+++ jazzdma.c   1996/06/22 08:58:26
@@ -18,6 +18,7 @@
 #include <asm/segment.h>
 #include <asm/dma.h>
 #include <asm/jazzdma.h>
+#include <asm/cachectl.h>
 
 
 static unsigned long vdma_pagetable_start = 0;
@@ -231,7 +232,7 @@
     /*
      * Update translation table
      */
-    sys_cacheflush(entry+first, npages << 3, DCACHE);
+    sys_cacheflush(pgtbl+first, npages << 3, DCACHE);
     r4030_write_reg32(JAZZ_R4030_TRSTBL_INV,0);
   
     if (vdma_debug > 2)
Index: arch/mips/jazz/setup.c
===================================================================
RCS file: /usr/src/cvs/linux-mips/arch/mips/jazz/setup.c,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 setup.c
--- setup.c     1996/06/22 00:05:34     1.1.1.3
+++ setup.c     1996/06/22 09:01:10
@@ -15,6 +15,7 @@
 #include <asm/irq.h>
 #include <asm/jazz.h>
 #include <asm/vector.h>
+#include <asm/io.h>
 
 /*
  * Initial irq handlers.



-- 
That process _deserves_ to die ("My name is Linus Torvalds, prepare to 
die").                                [Linus Torvalds on linux-kernel]

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