Skip to content

Commit

Permalink
x86, mrst: Fill in PCI functions in x86_init layer
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jacob Pan authored and H. Peter Anvin committed Feb 24, 2010
1 parent 5b78b67 commit af2730f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arch/x86/include/asm/mrst.h
Original file line number Diff line number Diff line change
@@ -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 */
3 changes: 3 additions & 0 deletions arch/x86/kernel/mrst.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit af2730f

Please sign in to comment.