diff options
author | Jacob Pan <jacob.jun.pan@intel.com> | 2010-02-12 13:31:47 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-24 02:15:19 -0500 |
commit | af2730f6eefce24c4ef1dc3f8267d33626db81bc (patch) | |
tree | 3e9cd221fdc388a715da46df805976ea64315aed /arch | |
parent | 5b78b6724a405d4b649db53f7aac28c930c89640 (diff) |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/include/asm/mrst.h | 15 | ||||
-rw-r--r-- | arch/x86/kernel/mrst.c | 3 |
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 000000000000..57a177a8e823 --- /dev/null +++ b/arch/x86/include/asm/mrst.h | |||
@@ -0,0 +1,15 @@ | |||
1 | /* | ||
2 | * mrst.h: Intel Moorestown platform specific setup code | ||
3 | * | ||
4 | * (C) Copyright 2009 Intel Corporation | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU General Public License | ||
8 | * as published by the Free Software Foundation; version 2 | ||
9 | * of the License. | ||
10 | */ | ||
11 | #ifndef _ASM_X86_MRST_H | ||
12 | #define _ASM_X86_MRST_H | ||
13 | extern int pci_mrst_init(void); | ||
14 | |||
15 | #endif /* _ASM_X86_MRST_H */ | ||
diff --git a/arch/x86/kernel/mrst.c b/arch/x86/kernel/mrst.c index bdf9b17290c6..98440e18919b 100644 --- a/arch/x86/kernel/mrst.c +++ b/arch/x86/kernel/mrst.c | |||
@@ -25,5 +25,8 @@ void __init x86_mrst_early_setup(void) | |||
25 | x86_init.resources.probe_roms = x86_init_noop; | 25 | x86_init.resources.probe_roms = x86_init_noop; |
26 | x86_init.resources.reserve_resources = x86_init_noop; | 26 | x86_init.resources.reserve_resources = x86_init_noop; |
27 | 27 | ||
28 | x86_init.pci.init = pci_mrst_init; | ||
29 | x86_init.pci.fixup_irqs = x86_init_noop; | ||
30 | |||
28 | legacy_pic = &null_legacy_pic; | 31 | legacy_pic = &null_legacy_pic; |
29 | } | 32 | } |