Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234132
b: refs/heads/master
c: 0315017
h: refs/heads/master
v: v3
  • Loading branch information
Sebastian Andrzej Siewior authored and Thomas Gleixner committed Mar 14, 2011
1 parent 9384048 commit 2dee64b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a79e53d85683c6dd9f99c90511028adc2043031f
refs/heads/master: 03150171dcf9492a96f57cbb2aef088bafcfcd2e
6 changes: 6 additions & 0 deletions trunk/arch/x86/include/asm/ce4100.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#ifndef _ASM_CE4100_H_
#define _ASM_CE4100_H_

int ce4100_pci_init(void);

#endif
7 changes: 4 additions & 3 deletions trunk/arch/x86/pci/ce4100.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <linux/pci.h>
#include <linux/init.h>

#include <asm/ce4100.h>
#include <asm/pci_x86.h>

struct sim_reg {
Expand Down Expand Up @@ -306,10 +307,10 @@ struct pci_raw_ops ce4100_pci_conf = {
.write = ce4100_conf_write,
};

static int __init ce4100_pci_init(void)
int __init ce4100_pci_init(void)
{
init_sim_regs();
raw_pci_ops = &ce4100_pci_conf;
return 0;
/* Indicate caller that it should invoke pci_legacy_init() */
return 1;
}
subsys_initcall(ce4100_pci_init);
2 changes: 2 additions & 0 deletions trunk/arch/x86/platform/ce4100/ce4100.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <linux/serial_reg.h>
#include <linux/serial_8250.h>

#include <asm/ce4100.h>
#include <asm/setup.h>
#include <asm/io.h>

Expand Down Expand Up @@ -129,4 +130,5 @@ void __init x86_ce4100_early_setup(void)
x86_init.resources.probe_roms = x86_init_noop;
x86_init.mpparse.get_smp_config = x86_init_uint_noop;
x86_init.mpparse.find_smp_config = sdv_find_smp_config;
x86_init.pci.init = ce4100_pci_init;
}

0 comments on commit 2dee64b

Please sign in to comment.