aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2006-09-26 13:55:58 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2006-10-03 16:50:59 +1000
commit80a544cebca5f28397020332e21e04d639a18943 (patch)
treebb1650d5e25a237a42357b70ca764e8d9914f9bb /arch
parent3f639ee8c52c187d8c95db430ac6f485bffbe5af (diff)
downloadkernel_samsung_espresso10-80a544cebca5f28397020332e21e04d639a18943.zip
kernel_samsung_espresso10-80a544cebca5f28397020332e21e04d639a18943.tar.gz
kernel_samsung_espresso10-80a544cebca5f28397020332e21e04d639a18943.tar.bz2
[POWERPC] iSeries has no legacy I/O
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/iseries/setup.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/iseries/setup.c b/arch/powerpc/platforms/iseries/setup.c
index 7cb6b5f..a0ff7ba 100644
--- a/arch/powerpc/platforms/iseries/setup.c
+++ b/arch/powerpc/platforms/iseries/setup.c
@@ -649,6 +649,15 @@ static void iseries_dedicated_idle(void)
void __init iSeries_init_IRQ(void) { }
#endif
+/*
+ * iSeries has no legacy IO, anything calling this function has to
+ * fail or bad things will happen
+ */
+static int iseries_check_legacy_ioport(unsigned int baseport)
+{
+ return -ENODEV;
+}
+
static int __init iseries_probe(void)
{
unsigned long root = of_get_flat_dt_root();
@@ -677,6 +686,7 @@ define_machine(iseries) {
.calibrate_decr = generic_calibrate_decr,
.progress = iSeries_progress,
.probe = iseries_probe,
+ .check_legacy_ioport = iseries_check_legacy_ioport,
/* XXX Implement enable_pmcs for iSeries */
};