summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Pan <jacob.jun.pan@intel.com>2010-02-12 10:31:47 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-02-23 23:15:19 -0800
commitaf2730f6eefce24c4ef1dc3f8267d33626db81bc (patch)
tree3e9cd221fdc388a715da46df805976ea64315aed
parent5b78b6724a405d4b649db53f7aac28c930c89640 (diff)
downloadop-kernel-dev-af2730f6eefce24c4ef1dc3f8267d33626db81bc.zip
op-kernel-dev-af2730f6eefce24c4ef1dc3f8267d33626db81bc.tar.gz
x86, mrst: Fill in PCI functions in x86_init layer
This patch added Moorestown platform specific PCI init functions. Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com> LKML-Reference: <43F901BD926A4E43B106BF17856F07559FB80D0A@orsmsx508.amr.corp.intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--arch/x86/include/asm/mrst.h15
-rw-r--r--arch/x86/kernel/mrst.c3
2 files changed, 18 insertions, 0 deletions
diff --git a/arch/x86/include/asm/mrst.h b/arch/x86/include/asm/mrst.h
new file mode 100644
index 0000000..57a177a
--- /dev/null
+++ b/arch/x86/include/asm/mrst.h
@@ -0,0 +1,15 @@
+/*
+ * mrst.h: Intel Moorestown platform specific setup code
+ *
+ * (C) Copyright 2009 Intel Corporation
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; version 2
+ * of the License.
+ */
+#ifndef _ASM_X86_MRST_H
+#define _ASM_X86_MRST_H
+extern int pci_mrst_init(void);
+
+#endif /* _ASM_X86_MRST_H */
diff --git a/arch/x86/kernel/mrst.c b/arch/x86/kernel/mrst.c
index bdf9b17..98440e1 100644
--- a/arch/x86/kernel/mrst.c
+++ b/arch/x86/kernel/mrst.c
@@ -25,5 +25,8 @@ void __init x86_mrst_early_setup(void)
x86_init.resources.probe_roms = x86_init_noop;
x86_init.resources.reserve_resources = x86_init_noop;
+ x86_init.pci.init = pci_mrst_init;
+ x86_init.pci.fixup_irqs = x86_init_noop;
+
legacy_pic = &null_legacy_pic;
}
OpenPOWER on IntegriCloud