Commit 688125a6 authored by Thomas Bogendoerfer's avatar Thomas Bogendoerfer Committed by David S. Miller

MIPS: SGI-IP27: remove ioc3 ethernet init

Removed not needed disabling of ethernet interrupts in IP27 platform code.
Acked-by: default avatarPaul Burton <paul.burton@mips.com>
Signed-off-by: default avatarThomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1a914990
...@@ -130,17 +130,6 @@ cnodeid_t get_compact_nodeid(void) ...@@ -130,17 +130,6 @@ cnodeid_t get_compact_nodeid(void)
return NASID_TO_COMPACT_NODEID(get_nasid()); return NASID_TO_COMPACT_NODEID(get_nasid());
} }
static inline void ioc3_eth_init(void)
{
struct ioc3 *ioc3;
nasid_t nid;
nid = get_nasid();
ioc3 = (struct ioc3 *) KL_CONFIG_CH_CONS_INFO(nid)->memory_base;
ioc3->eier = 0;
}
extern void ip27_reboot_setup(void); extern void ip27_reboot_setup(void);
void __init plat_mem_setup(void) void __init plat_mem_setup(void)
...@@ -182,8 +171,6 @@ void __init plat_mem_setup(void) ...@@ -182,8 +171,6 @@ void __init plat_mem_setup(void)
panic("Kernel compiled for N mode."); panic("Kernel compiled for N mode.");
#endif #endif
ioc3_eth_init();
ioport_resource.start = 0; ioport_resource.start = 0;
ioport_resource.end = ~0UL; ioport_resource.end = ~0UL;
set_io_port_base(IO_BASE); set_io_port_base(IO_BASE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment