patch-2.1.73 linux/arch/mips/mm/loadmmu.c

Next file: linux/arch/mips/mm/r2300.c
Previous file: linux/arch/mips/mm/andes.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.72/linux/arch/mips/mm/loadmmu.c linux/arch/mips/mm/loadmmu.c
@@ -1,7 +1,9 @@
-/* $Id: loadmmu.c,v 1.2 1997/08/08 18:13:05 miguel Exp $
+/*
  * loadmmu.c: Setup cpu/cache specific function ptrs at boot time.
  *
  * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ *
+ * $Id: loadmmu.c,v 1.4 1997/12/02 05:51:07 ralf Exp $
  */
 
 #include <linux/kernel.h>
@@ -27,6 +29,10 @@
 void (*flush_cache_sigtramp)(unsigned long addr);
 void (*flush_page_to_ram)(unsigned long page);
 
+/* DMA cache operations. */
+void (*flush_cache_pre_dma_out)(unsigned long start, unsigned long size);
+void (*flush_cache_post_dma_in)(unsigned long start, unsigned long size);
+
 /* TLB operations. */
 void (*flush_tlb_all)(void);
 void (*flush_tlb_mm)(struct mm_struct *mm);
@@ -76,6 +82,7 @@
 	case CPU_R4700:
 	case CPU_R5000:
 	case CPU_R5000A:
+	case CPU_NEVADA:
 		printk("Loading R4000 MMU routines.\n");
 		ld_mmu_r4xx0();
 		break;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov