From a5436c66bf163a9d9ae6953b78db9d917dd5bd29 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Mon, 22 Dec 2008 17:41:01 +0000 Subject: Fix implicit declarations of get_bus_conf. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3835 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c | 2 ++ src/mainboard/gigabyte/m57sli/irq_tables.c | 2 ++ src/mainboard/gigabyte/m57sli/mptable.c | 2 ++ src/mainboard/msi/ms7260/irq_tables.c | 2 ++ src/mainboard/msi/ms7260/mptable.c | 2 ++ src/mainboard/msi/ms9282/irq_tables.c | 2 ++ src/mainboard/msi/ms9282/mptable.c | 2 ++ src/mainboard/nvidia/l1_2pvv/irq_tables.c | 2 ++ src/mainboard/nvidia/l1_2pvv/mptable.c | 2 ++ src/mainboard/sunw/ultra40/irq_tables.c | 2 ++ src/mainboard/sunw/ultra40/mptable.c | 2 ++ src/mainboard/supermicro/h8dmr/irq_tables.c | 2 ++ src/mainboard/supermicro/h8dmr/mptable.c | 2 ++ src/mainboard/tyan/s2912/irq_tables.c | 2 ++ src/mainboard/tyan/s2912/mptable.c | 2 ++ src/mainboard/tyan/s2912_fam10/irq_tables.c | 2 ++ src/mainboard/tyan/s2912_fam10/mptable.c | 2 ++ 17 files changed, 34 insertions(+) (limited to 'src') diff --git a/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c b/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c index 97f304d476..6652e0fdad 100644 --- a/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c +++ b/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c @@ -55,6 +55,8 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev extern unsigned char bus_isa; extern unsigned char bus_sis966[8]; //1 +extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { diff --git a/src/mainboard/gigabyte/m57sli/irq_tables.c b/src/mainboard/gigabyte/m57sli/irq_tables.c index 1bdae9830d..49c7c99b22 100644 --- a/src/mainboard/gigabyte/m57sli/irq_tables.c +++ b/src/mainboard/gigabyte/m57sli/irq_tables.c @@ -53,6 +53,8 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev extern unsigned char bus_isa; extern unsigned char bus_mcp55[8]; //1 +extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { diff --git a/src/mainboard/gigabyte/m57sli/mptable.c b/src/mainboard/gigabyte/m57sli/mptable.c index 21d993ad08..2e16cba385 100644 --- a/src/mainboard/gigabyte/m57sli/mptable.c +++ b/src/mainboard/gigabyte/m57sli/mptable.c @@ -33,6 +33,8 @@ extern unsigned apicid_mcp55; extern unsigned bus_type[256]; +extern void get_bus_conf(void); + void *smp_write_config_table(void *v) { static const char sig[4] = "PCMP"; diff --git a/src/mainboard/msi/ms7260/irq_tables.c b/src/mainboard/msi/ms7260/irq_tables.c index e0cc8a19f0..2e7e8cc79f 100644 --- a/src/mainboard/msi/ms7260/irq_tables.c +++ b/src/mainboard/msi/ms7260/irq_tables.c @@ -49,6 +49,8 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, extern unsigned char bus_isa; extern unsigned char bus_mcp55[8]; // 1 +extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { struct irq_routing_table *pirq; diff --git a/src/mainboard/msi/ms7260/mptable.c b/src/mainboard/msi/ms7260/mptable.c index 7810a95dc7..a51f0f4bf9 100644 --- a/src/mainboard/msi/ms7260/mptable.c +++ b/src/mainboard/msi/ms7260/mptable.c @@ -31,6 +31,8 @@ extern unsigned char bus_mcp55[8]; // 1 extern unsigned apicid_mcp55; extern unsigned bus_type[256]; +extern void get_bus_conf(void); + void *smp_write_config_table(void *v) { static const char sig[4] = "PCMP"; diff --git a/src/mainboard/msi/ms9282/irq_tables.c b/src/mainboard/msi/ms9282/irq_tables.c index a462f1668e..24f998ab85 100644 --- a/src/mainboard/msi/ms9282/irq_tables.c +++ b/src/mainboard/msi/ms9282/irq_tables.c @@ -55,6 +55,8 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev pirq_info->rfu = rfu; } +extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { diff --git a/src/mainboard/msi/ms9282/mptable.c b/src/mainboard/msi/ms9282/mptable.c index 78994fcc79..f021ec2078 100644 --- a/src/mainboard/msi/ms9282/mptable.c +++ b/src/mainboard/msi/ms9282/mptable.c @@ -32,6 +32,8 @@ #include "mb_sysconf.h" +extern void get_bus_conf(void); + void *smp_write_config_table(void *v) { static const char sig[4] = "PCMP"; diff --git a/src/mainboard/nvidia/l1_2pvv/irq_tables.c b/src/mainboard/nvidia/l1_2pvv/irq_tables.c index d78830ddbf..398f805ef0 100644 --- a/src/mainboard/nvidia/l1_2pvv/irq_tables.c +++ b/src/mainboard/nvidia/l1_2pvv/irq_tables.c @@ -52,6 +52,8 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev pirq_info->rfu = rfu; } +extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { diff --git a/src/mainboard/nvidia/l1_2pvv/mptable.c b/src/mainboard/nvidia/l1_2pvv/mptable.c index 0a2a6bd513..771ea90042 100644 --- a/src/mainboard/nvidia/l1_2pvv/mptable.c +++ b/src/mainboard/nvidia/l1_2pvv/mptable.c @@ -29,6 +29,8 @@ #include "mb_sysconf.h" +extern void get_bus_conf(void); + void *smp_write_config_table(void *v) { static const char sig[4] = "PCMP"; diff --git a/src/mainboard/sunw/ultra40/irq_tables.c b/src/mainboard/sunw/ultra40/irq_tables.c index 5ed428ff9f..2d2230ef22 100644 --- a/src/mainboard/sunw/ultra40/irq_tables.c +++ b/src/mainboard/sunw/ultra40/irq_tables.c @@ -51,6 +51,8 @@ extern unsigned hcdn[]; extern unsigned sbdn3; extern unsigned sbdnb; +extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { diff --git a/src/mainboard/sunw/ultra40/mptable.c b/src/mainboard/sunw/ultra40/mptable.c index 8155829b34..674dbdc6bf 100644 --- a/src/mainboard/sunw/ultra40/mptable.c +++ b/src/mainboard/sunw/ultra40/mptable.c @@ -32,6 +32,8 @@ extern unsigned hcdn[]; extern unsigned sbdn3; extern unsigned sbdnb; +extern void get_bus_conf(void); + void *smp_write_config_table(void *v) { static const char sig[4] = "PCMP"; diff --git a/src/mainboard/supermicro/h8dmr/irq_tables.c b/src/mainboard/supermicro/h8dmr/irq_tables.c index 1bdae9830d..49c7c99b22 100644 --- a/src/mainboard/supermicro/h8dmr/irq_tables.c +++ b/src/mainboard/supermicro/h8dmr/irq_tables.c @@ -53,6 +53,8 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev extern unsigned char bus_isa; extern unsigned char bus_mcp55[8]; //1 +extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { diff --git a/src/mainboard/supermicro/h8dmr/mptable.c b/src/mainboard/supermicro/h8dmr/mptable.c index caf79b490d..e611b9a622 100644 --- a/src/mainboard/supermicro/h8dmr/mptable.c +++ b/src/mainboard/supermicro/h8dmr/mptable.c @@ -33,6 +33,8 @@ extern unsigned apicid_mcp55; extern unsigned char bus_pcix[3]; // under bus_mcp55_2 +extern void get_bus_conf(void); + void *smp_write_config_table(void *v) { static const char sig[4] = "PCMP"; diff --git a/src/mainboard/tyan/s2912/irq_tables.c b/src/mainboard/tyan/s2912/irq_tables.c index 313ea60981..aad569b048 100644 --- a/src/mainboard/tyan/s2912/irq_tables.c +++ b/src/mainboard/tyan/s2912/irq_tables.c @@ -52,6 +52,8 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev pirq_info->rfu = rfu; } +extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { diff --git a/src/mainboard/tyan/s2912/mptable.c b/src/mainboard/tyan/s2912/mptable.c index ff03ed7c95..8887cca3bf 100644 --- a/src/mainboard/tyan/s2912/mptable.c +++ b/src/mainboard/tyan/s2912/mptable.c @@ -29,6 +29,8 @@ #include "mb_sysconf.h" +extern void get_bus_conf(void); + void *smp_write_config_table(void *v) { static const char sig[4] = "PCMP"; diff --git a/src/mainboard/tyan/s2912_fam10/irq_tables.c b/src/mainboard/tyan/s2912_fam10/irq_tables.c index e74096f842..86fa65f2c2 100644 --- a/src/mainboard/tyan/s2912_fam10/irq_tables.c +++ b/src/mainboard/tyan/s2912_fam10/irq_tables.c @@ -52,6 +52,8 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev pirq_info->rfu = rfu; } +extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { diff --git a/src/mainboard/tyan/s2912_fam10/mptable.c b/src/mainboard/tyan/s2912_fam10/mptable.c index d66a598842..36767e96e6 100644 --- a/src/mainboard/tyan/s2912_fam10/mptable.c +++ b/src/mainboard/tyan/s2912_fam10/mptable.c @@ -29,6 +29,8 @@ #include "mb_sysconf.h" +extern void get_bus_conf(void); + void *smp_write_config_table(void *v) { static const char sig[4] = "PCMP"; -- cgit v1.2.3