summaryrefslogtreecommitdiffstats
path: root/arch/mips/dec/setup.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2005-06-16 22:23:20 +0200
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 20:31:23 +0200
commit902d21d5313ba08cccadc9fceee2df3cf34e84eb (patch)
treeeaea806d19e9749794e2e4124b7e08900c982852 /arch/mips/dec/setup.c
parentRedo RM9000 workaround which along with other DSP ASE changes was (diff)
downloadlinux-902d21d5313ba08cccadc9fceee2df3cf34e84eb.tar.xz
linux-902d21d5313ba08cccadc9fceee2df3cf34e84eb.zip
There is NO port I/O space on the DECstation. Minor clean-ups.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/dec/setup.c')
-rw-r--r--arch/mips/dec/setup.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/arch/mips/dec/setup.c b/arch/mips/dec/setup.c
index 534a7792a7f6..82408ce710fc 100644
--- a/arch/mips/dec/setup.c
+++ b/arch/mips/dec/setup.c
@@ -1,19 +1,20 @@
/*
- * Setup the interrupt stuff.
+ * System-specific setup, especially interrupts.
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 1998 Harald Koerfgen
- * Copyright (C) 2000, 2001, 2002, 2003 Maciej W. Rozycki
+ * Copyright (C) 2000, 2001, 2002, 2003, 2005 Maciej W. Rozycki
*/
-#include <linux/sched.h>
-#include <linux/interrupt.h>
-#include <linux/param.h>
#include <linux/console.h>
#include <linux/init.h>
+#include <linux/interrupt.h>
+#include <linux/ioport.h>
#include <linux/module.h>
+#include <linux/param.h>
+#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/types.h>
@@ -139,6 +140,9 @@ void __init plat_setup(void)
_machine_restart = dec_machine_restart;
_machine_halt = dec_machine_halt;
_machine_power_off = dec_machine_power_off;
+
+ ioport_resource.start = ~0UL;
+ ioport_resource.end = 0UL;
}
/*