summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>1997-07-29 22:51:28 +0000
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>1997-07-29 22:51:28 +0000
commit56a5223aeb07b8e795ef598db6e60063af9043cf (patch)
treed22e724ea6ea434025a29f4f5056391e27c6e12a /arch
parentf011d96d848e58dc76e43d8fd6d71386232943ea (diff)
added calls to add_wired_entry(); now we setup the needed wired entries
in the platform specific setup function
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/jazz/setup.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/jazz/setup.c b/arch/mips/jazz/setup.c
index 3b9924ef5..3bbf84947 100644
--- a/arch/mips/jazz/setup.c
+++ b/arch/mips/jazz/setup.c
@@ -11,6 +11,7 @@
#include <linux/ioport.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
+#include <linux/mm.h>
#include <asm/bootinfo.h>
#include <asm/keyboard.h>
#include <asm/irq.h>
@@ -19,6 +20,7 @@
#include <asm/reboot.h>
#include <asm/vector.h>
#include <asm/io.h>
+#include <asm/pgtable.h>
/*
* Initial irq handlers.
@@ -96,6 +98,10 @@ __initfunc(void jazz_setup(void))
}
}
+ add_wired_entry (0x02000017, 0x03c00017, 0xe0000000, PM_64K);
+ add_wired_entry (0x02400017, 0x02440017, 0xe2000000, PM_16M);
+ add_wired_entry (0x01800017, 0x01000017, 0xe4000000, PM_4M);
+
irq_setup = jazz_irq_setup;
fd_cacheflush = jazz_fd_cacheflush;
keyboard_setup = jazz_keyboard_setup;