patch-2.1.51 linux/arch/mips/jazz/setup.c
Next file: linux/arch/mips/kernel/gdb-stub.c
Previous file: linux/arch/mips/jazz/jazzdma.c
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Sat Aug 16 09:51:07 1997
- Orig file:
v2.1.50/linux/arch/mips/jazz/setup.c
- Orig date:
Mon Aug 4 16:25:36 1997
diff -u --recursive --new-file v2.1.50/linux/arch/mips/jazz/setup.c linux/arch/mips/jazz/setup.c
@@ -11,13 +11,16 @@
#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>
#include <asm/jazz.h>
#include <asm/ptrace.h>
#include <asm/reboot.h>
#include <asm/vector.h>
#include <asm/io.h>
+#include <asm/pgtable.h>
/*
* Initial irq handlers.
@@ -32,6 +35,7 @@
extern asmlinkage void jazz_handle_int(void);
extern asmlinkage void jazz_fd_cacheflush(const void *addr, size_t size);
extern struct feature jazz_feature;
+extern void jazz_keyboard_setup(void);
extern void jazz_machine_restart(char *command);
extern void jazz_machine_halt(void);
@@ -94,8 +98,13 @@
}
}
+ 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;
feature = &jazz_feature; // Will go away
port_base = JAZZ_PORT_BASE;
isa_slot_offset = 0xe3000000;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov