patch-2.4.19 linux-2.4.19/arch/mips/mips-boards/atlas/atlas_setup.c
Next file: linux-2.4.19/arch/mips/mips-boards/generic/Makefile
Previous file: linux-2.4.19/arch/mips/mips-boards/atlas/atlas_int.c
Back to the patch index
Back to the overall index
- Lines: 38
- Date:
Fri Aug 2 17:39:43 2002
- Orig file:
linux-2.4.18/arch/mips/mips-boards/atlas/atlas_setup.c
- Orig date:
Sun Sep 9 10:43:02 2001
diff -urN linux-2.4.18/arch/mips/mips-boards/atlas/atlas_setup.c linux-2.4.19/arch/mips/mips-boards/atlas/atlas_setup.c
@@ -28,8 +28,10 @@
#include <asm/irq.h>
#include <asm/mips-boards/generic.h>
#include <asm/mips-boards/prom.h>
-#include <asm/gt64120.h>
#include <asm/mips-boards/atlasint.h>
+#include <asm/gt64120.h>
+#include <asm/time.h>
+#include <asm/traps.h>
#if defined(CONFIG_SERIAL_CONSOLE) || defined(CONFIG_PROM_CONSOLE)
extern void console_setup(char *, int *);
@@ -47,6 +49,17 @@
extern void mips_reboot_setup(void);
+const char *get_system_type(void)
+{
+ return "MIPS Atlas";
+}
+
+void __init bus_error_init(void)
+{
+}
+
+extern void mips_time_init(void);
+
void __init atlas_setup(void)
{
#ifdef CONFIG_REMOTE_DEBUG
@@ -110,6 +123,7 @@
mips_cpu.options &= ~MIPS_CPU_FPU;
rtc_ops = &atlas_rtc_ops;
+ board_time_init = mips_time_init;
mips_reboot_setup();
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)