patch-2.4.22 linux-2.4.22/arch/mips/sgi-ip27/ip27-setup.c
Next file: linux-2.4.22/arch/mips/sgi-ip27/ip27-timer.c
Previous file: linux-2.4.22/arch/mips/sgi-ip27/ip27-rtc.c
Back to the patch index
Back to the overall index
- Lines: 43
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/mips/sgi-ip27/ip27-setup.c
- Orig date:
2002-11-28 15:53:10.000000000 -0800
diff -urN linux-2.4.21/arch/mips/sgi-ip27/ip27-setup.c linux-2.4.22/arch/mips/sgi-ip27/ip27-setup.c
@@ -29,6 +29,7 @@
#include <asm/pci/bridge.h>
#include <asm/paccess.h>
#include <asm/sn/sn0/ip27.h>
+#include <asm/traps.h>
/* Check against user dumbness. */
#ifdef CONFIG_VT
@@ -42,6 +43,8 @@
#define DBG(x...)
#endif
+extern void ip27_be_init(void) __init;
+
/*
* get_nasid() returns the physical node id number of the caller.
*/
@@ -276,6 +279,7 @@
extern void ip27_setup_console(void);
extern void ip27_time_init(void);
+extern void ip27_reboot_setup(void);
void __init ip27_setup(void)
{
@@ -283,6 +287,7 @@
hubreg_t p, e;
ip27_setup_console();
+ ip27_reboot_setup();
num_bridges = 0;
/*
@@ -309,6 +314,8 @@
ioc3_eth_init();
per_cpu_init();
- mips_io_port_base = IO_BASE;
+ set_io_port_base(IO_BASE);
+
+ board_be_init = ip27_be_init;
board_time_init = ip27_time_init;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)