Author: stepan Date: Wed Apr 7 17:30:11 2010 New Revision: 5370 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5370
Log: move amd K8/Fam10 "bus detection" function prototypes to a common place.
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/src/include/cpu/amd/amdfam10_sysconf.h trunk/src/include/cpu/amd/amdk8_sysconf.h trunk/src/mainboard/amd/dbm690t/acpi_tables.c trunk/src/mainboard/amd/dbm690t/get_bus_conf.c trunk/src/mainboard/amd/dbm690t/irq_tables.c trunk/src/mainboard/amd/dbm690t/mptable.c trunk/src/mainboard/amd/mahogany/acpi_tables.c trunk/src/mainboard/amd/mahogany/get_bus_conf.c trunk/src/mainboard/amd/mahogany/irq_tables.c trunk/src/mainboard/amd/mahogany/mptable.c trunk/src/mainboard/amd/mahogany_fam10/acpi_tables.c trunk/src/mainboard/amd/mahogany_fam10/irq_tables.c trunk/src/mainboard/amd/mahogany_fam10/mptable.c trunk/src/mainboard/amd/pistachio/acpi_tables.c trunk/src/mainboard/amd/pistachio/get_bus_conf.c trunk/src/mainboard/amd/pistachio/irq_tables.c trunk/src/mainboard/amd/pistachio/mptable.c trunk/src/mainboard/amd/serengeti_cheetah/acpi_tables.c trunk/src/mainboard/amd/serengeti_cheetah/get_bus_conf.c trunk/src/mainboard/amd/serengeti_cheetah/irq_tables.c trunk/src/mainboard/amd/serengeti_cheetah/mptable.c trunk/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c trunk/src/mainboard/amd/serengeti_cheetah_fam10/irq_tables.c trunk/src/mainboard/amd/serengeti_cheetah_fam10/mptable.c trunk/src/mainboard/asrock/939a785gmh/acpi_tables.c trunk/src/mainboard/asrock/939a785gmh/get_bus_conf.c trunk/src/mainboard/asrock/939a785gmh/irq_tables.c trunk/src/mainboard/asrock/939a785gmh/mptable.c trunk/src/mainboard/asus/a8n_e/get_bus_conf.c trunk/src/mainboard/asus/a8n_e/irq_tables.c trunk/src/mainboard/asus/a8n_e/mptable.c trunk/src/mainboard/broadcom/blast/get_bus_conf.c trunk/src/mainboard/broadcom/blast/irq_tables.c trunk/src/mainboard/broadcom/blast/mptable.c trunk/src/mainboard/gigabyte/ga_2761gxdk/get_bus_conf.c trunk/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c trunk/src/mainboard/gigabyte/m57sli/acpi_tables.c trunk/src/mainboard/gigabyte/m57sli/get_bus_conf.c trunk/src/mainboard/gigabyte/m57sli/irq_tables.c trunk/src/mainboard/gigabyte/m57sli/mptable.c trunk/src/mainboard/hp/dl145_g3/get_bus_conf.c trunk/src/mainboard/hp/dl145_g3/mptable.c trunk/src/mainboard/iwill/dk8_htx/acpi_tables.c trunk/src/mainboard/iwill/dk8_htx/get_bus_conf.c trunk/src/mainboard/iwill/dk8_htx/irq_tables.c trunk/src/mainboard/iwill/dk8_htx/mptable.c trunk/src/mainboard/kontron/kt690/acpi_tables.c trunk/src/mainboard/kontron/kt690/get_bus_conf.c trunk/src/mainboard/kontron/kt690/irq_tables.c trunk/src/mainboard/kontron/kt690/mptable.c trunk/src/mainboard/msi/ms7135/get_bus_conf.c trunk/src/mainboard/msi/ms7135/irq_tables.c trunk/src/mainboard/msi/ms7135/mptable.c trunk/src/mainboard/msi/ms7260/get_bus_conf.c trunk/src/mainboard/msi/ms7260/irq_tables.c trunk/src/mainboard/msi/ms7260/mptable.c trunk/src/mainboard/msi/ms9185/get_bus_conf.c trunk/src/mainboard/msi/ms9185/irq_tables.c trunk/src/mainboard/msi/ms9185/mptable.c trunk/src/mainboard/msi/ms9282/get_bus_conf.c trunk/src/mainboard/msi/ms9282/irq_tables.c trunk/src/mainboard/msi/ms9282/mptable.c trunk/src/mainboard/msi/ms9652_fam10/acpi_tables.c trunk/src/mainboard/msi/ms9652_fam10/irq_tables.c trunk/src/mainboard/msi/ms9652_fam10/mptable.c trunk/src/mainboard/nvidia/l1_2pvv/get_bus_conf.c trunk/src/mainboard/nvidia/l1_2pvv/irq_tables.c trunk/src/mainboard/nvidia/l1_2pvv/mptable.c trunk/src/mainboard/sunw/ultra40/get_bus_conf.c trunk/src/mainboard/sunw/ultra40/irq_tables.c trunk/src/mainboard/sunw/ultra40/mptable.c trunk/src/mainboard/supermicro/h8dme/get_bus_conf.c trunk/src/mainboard/supermicro/h8dme/irq_tables.c trunk/src/mainboard/supermicro/h8dme/mptable.c trunk/src/mainboard/supermicro/h8dmr/get_bus_conf.c trunk/src/mainboard/supermicro/h8dmr/irq_tables.c trunk/src/mainboard/supermicro/h8dmr/mptable.c trunk/src/mainboard/supermicro/h8dmr_fam10/irq_tables.c trunk/src/mainboard/supermicro/h8dmr_fam10/mptable.c trunk/src/mainboard/supermicro/h8qme_fam10/irq_tables.c trunk/src/mainboard/supermicro/h8qme_fam10/mptable.c trunk/src/mainboard/technexion/tim5690/acpi_tables.c trunk/src/mainboard/technexion/tim5690/get_bus_conf.c trunk/src/mainboard/technexion/tim5690/irq_tables.c trunk/src/mainboard/technexion/tim5690/mptable.c trunk/src/mainboard/technexion/tim8690/acpi_tables.c trunk/src/mainboard/technexion/tim8690/get_bus_conf.c trunk/src/mainboard/technexion/tim8690/irq_tables.c trunk/src/mainboard/technexion/tim8690/mptable.c trunk/src/mainboard/tyan/s2881/get_bus_conf.c trunk/src/mainboard/tyan/s2881/irq_tables.c trunk/src/mainboard/tyan/s2881/mptable.c trunk/src/mainboard/tyan/s2885/get_bus_conf.c trunk/src/mainboard/tyan/s2885/irq_tables.c trunk/src/mainboard/tyan/s2885/mptable.c trunk/src/mainboard/tyan/s2891/get_bus_conf.c trunk/src/mainboard/tyan/s2891/irq_tables.c trunk/src/mainboard/tyan/s2891/mptable.c trunk/src/mainboard/tyan/s2892/get_bus_conf.c trunk/src/mainboard/tyan/s2892/irq_tables.c trunk/src/mainboard/tyan/s2892/mptable.c trunk/src/mainboard/tyan/s2895/get_bus_conf.c trunk/src/mainboard/tyan/s2895/irq_tables.c trunk/src/mainboard/tyan/s2895/mptable.c trunk/src/mainboard/tyan/s2912/get_bus_conf.c trunk/src/mainboard/tyan/s2912/irq_tables.c trunk/src/mainboard/tyan/s2912/mptable.c trunk/src/mainboard/tyan/s2912_fam10/irq_tables.c trunk/src/mainboard/tyan/s2912_fam10/mptable.c
Modified: trunk/src/include/cpu/amd/amdfam10_sysconf.h ============================================================================== --- trunk/src/include/cpu/amd/amdfam10_sysconf.h Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/include/cpu/amd/amdfam10_sysconf.h Wed Apr 7 17:30:11 2010 (r5370) @@ -70,4 +70,6 @@
extern struct amdfam10_sysconf_t sysconf;
+void get_sblk_pci1234(void); +void get_bus_conf(void); #endif
Modified: trunk/src/include/cpu/amd/amdk8_sysconf.h ============================================================================== --- trunk/src/include/cpu/amd/amdk8_sysconf.h Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/include/cpu/amd/amdk8_sysconf.h Wed Apr 7 17:30:11 2010 (r5370) @@ -25,4 +25,6 @@
extern struct amdk8_sysconf_t sysconf;
+void get_sblk_pci1234(void); +void get_bus_conf(void); #endif
Modified: trunk/src/mainboard/amd/dbm690t/acpi_tables.c ============================================================================== --- trunk/src/mainboard/amd/dbm690t/acpi_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/dbm690t/acpi_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -92,7 +92,7 @@ return current; }
-extern void get_bus_conf(void); +
static void update_ssdtx(void *ssdtx, int i) {
Modified: trunk/src/mainboard/amd/dbm690t/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/amd/dbm690t/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/dbm690t/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -59,7 +59,7 @@ u32 sbdn_rs690; u32 sbdn_sb600;
-extern void get_sblk_pci1234(void); +
static u32 get_bus_conf_done = 0;
Modified: trunk/src/mainboard/amd/dbm690t/irq_tables.c ============================================================================== --- trunk/src/mainboard/amd/dbm690t/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/dbm690t/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -31,7 +31,7 @@
#include <cpu/amd/amdk8_sysconf.h>
-extern void get_bus_conf(void); +
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn, u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
Modified: trunk/src/mainboard/amd/dbm690t/mptable.c ============================================================================== --- trunk/src/mainboard/amd/dbm690t/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/dbm690t/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -36,7 +36,7 @@ extern u32 sbdn_rs690; extern u32 sbdn_sb600;
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/amd/mahogany/acpi_tables.c ============================================================================== --- trunk/src/mainboard/amd/mahogany/acpi_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/mahogany/acpi_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -99,7 +99,7 @@ return current; }
-extern void get_bus_conf(void); +
#if CONFIG_ACPI_SSDTX_NUM >= 1 static void update_ssdtx(void *ssdtx, int i)
Modified: trunk/src/mainboard/amd/mahogany/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/amd/mahogany/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/mahogany/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -59,7 +59,7 @@ u32 sbdn_rs780; u32 sbdn_sb700;
-extern void get_sblk_pci1234(void); +
static u32 get_bus_conf_done = 0;
Modified: trunk/src/mainboard/amd/mahogany/irq_tables.c ============================================================================== --- trunk/src/mainboard/amd/mahogany/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/mahogany/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -31,7 +31,7 @@
#include <cpu/amd/amdk8_sysconf.h>
-extern void get_bus_conf(void); +
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn, u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
Modified: trunk/src/mainboard/amd/mahogany/mptable.c ============================================================================== --- trunk/src/mainboard/amd/mahogany/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/mahogany/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -37,7 +37,7 @@ extern u32 sbdn_rs780; extern u32 sbdn_sb700;
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/amd/mahogany_fam10/acpi_tables.c ============================================================================== --- trunk/src/mainboard/amd/mahogany_fam10/acpi_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/mahogany_fam10/acpi_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -89,7 +89,7 @@ return current; }
-extern void get_bus_conf(void); + extern void update_ssdt(void *ssdt);
/* not tested yet. */
Modified: trunk/src/mainboard/amd/mahogany_fam10/irq_tables.c ============================================================================== --- trunk/src/mainboard/amd/mahogany_fam10/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/mahogany_fam10/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -25,7 +25,7 @@
#include <cpu/amd/amdfam10_sysconf.h>
-extern void get_bus_conf(void); +
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn, u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
Modified: trunk/src/mainboard/amd/mahogany_fam10/mptable.c ============================================================================== --- trunk/src/mainboard/amd/mahogany_fam10/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/mahogany_fam10/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -37,7 +37,7 @@ extern u32 sbdn_rs780; extern u32 sbdn_sb700;
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/amd/pistachio/acpi_tables.c ============================================================================== --- trunk/src/mainboard/amd/pistachio/acpi_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/pistachio/acpi_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -92,7 +92,7 @@ return current; }
-extern void get_bus_conf(void); +
static void update_ssdtx(void *ssdtx, int i) {
Modified: trunk/src/mainboard/amd/pistachio/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/amd/pistachio/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/pistachio/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -59,7 +59,7 @@ u32 sbdn_rs690; u32 sbdn_sb600;
-extern void get_sblk_pci1234(void); +
static u32 get_bus_conf_done = 0;
Modified: trunk/src/mainboard/amd/pistachio/irq_tables.c ============================================================================== --- trunk/src/mainboard/amd/pistachio/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/pistachio/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -31,7 +31,7 @@
#include <cpu/amd/amdk8_sysconf.h>
-extern void get_bus_conf(void); +
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn, u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
Modified: trunk/src/mainboard/amd/pistachio/mptable.c ============================================================================== --- trunk/src/mainboard/amd/pistachio/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/pistachio/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -36,7 +36,7 @@ extern u32 sbdn_rs690; extern u32 sbdn_sb600;
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/amd/serengeti_cheetah/acpi_tables.c ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah/acpi_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/serengeti_cheetah/acpi_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -150,7 +150,7 @@ return current; }
-extern void get_bus_conf(void); +
static void update_ssdtx(void *ssdtx, int i) {
Modified: trunk/src/mainboard/amd/serengeti_cheetah/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/serengeti_cheetah/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -39,7 +39,7 @@ // 0x20202020, };
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/amd/serengeti_cheetah/irq_tables.c ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/serengeti_cheetah/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -34,7 +34,7 @@ }
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/amd/serengeti_cheetah/mptable.c ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/serengeti_cheetah/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -10,7 +10,7 @@ #include <cpu/amd/amdk8_sysconf.h> #include "mb_sysconf.h"
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -160,7 +160,7 @@ return current; }
-extern void get_bus_conf(void); + extern void update_ssdt(void *ssdt);
static void update_ssdtx(void *ssdtx, int i)
Modified: trunk/src/mainboard/amd/serengeti_cheetah_fam10/irq_tables.c ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah_fam10/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/serengeti_cheetah_fam10/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -46,7 +46,7 @@ }
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/amd/serengeti_cheetah_fam10/mptable.c ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah_fam10/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/amd/serengeti_cheetah_fam10/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -29,7 +29,7 @@ #include <cpu/amd/amdfam10_sysconf.h> #include "mb_sysconf.h"
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/asrock/939a785gmh/acpi_tables.c ============================================================================== --- trunk/src/mainboard/asrock/939a785gmh/acpi_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/asrock/939a785gmh/acpi_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -99,7 +99,7 @@ return current; }
-extern void get_bus_conf(void); +
#if CONFIG_ACPI_SSDTX_NUM >= 1 static void update_ssdtx(void *ssdtx, int i)
Modified: trunk/src/mainboard/asrock/939a785gmh/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/asrock/939a785gmh/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/asrock/939a785gmh/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -59,7 +59,7 @@ u32 sbdn_rs780; u32 sbdn_sb700;
-extern void get_sblk_pci1234(void); +
static u32 get_bus_conf_done = 0;
Modified: trunk/src/mainboard/asrock/939a785gmh/irq_tables.c ============================================================================== --- trunk/src/mainboard/asrock/939a785gmh/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/asrock/939a785gmh/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -31,7 +31,7 @@
#include <cpu/amd/amdk8_sysconf.h>
-extern void get_bus_conf(void); +
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn, u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
Modified: trunk/src/mainboard/asrock/939a785gmh/mptable.c ============================================================================== --- trunk/src/mainboard/asrock/939a785gmh/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/asrock/939a785gmh/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -37,7 +37,7 @@ extern u32 sbdn_rs780; extern u32 sbdn_sb700;
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/asus/a8n_e/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/asus/a8n_e/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/asus/a8n_e/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -61,7 +61,7 @@
unsigned bus_type[256];
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/asus/a8n_e/irq_tables.c ============================================================================== --- trunk/src/mainboard/asus/a8n_e/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/asus/a8n_e/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -30,7 +30,7 @@
extern unsigned char bus_isa; extern unsigned char bus_ck804[6]; -extern void get_bus_conf(void); +
/** * Add one line to IRQ table.
Modified: trunk/src/mainboard/asus/a8n_e/mptable.c ============================================================================== --- trunk/src/mainboard/asus/a8n_e/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/asus/a8n_e/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -32,7 +32,7 @@ extern unsigned char bus_ck804[6]; extern unsigned apicid_ck804; extern unsigned bus_type[256]; -extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/broadcom/blast/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/broadcom/blast/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/broadcom/blast/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -46,7 +46,7 @@ }; unsigned sbdn2;
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/broadcom/blast/irq_tables.c ============================================================================== --- trunk/src/mainboard/broadcom/blast/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/broadcom/blast/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -40,7 +40,7 @@
extern unsigned sbdn2;
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/broadcom/blast/mptable.c ============================================================================== --- trunk/src/mainboard/broadcom/blast/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/broadcom/blast/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -19,7 +19,7 @@
extern unsigned sbdn2;
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/gigabyte/ga_2761gxdk/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/gigabyte/ga_2761gxdk/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/gigabyte/ga_2761gxdk/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -66,7 +66,7 @@ }; unsigned bus_type[256];
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c ============================================================================== --- trunk/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -55,7 +55,7 @@ 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) { @@ -133,7 +133,6 @@ PINTH = IRQ7
*/ - int i; uint8_t reg[8]={0x41,0x42,0x43,0x44,0x60,0x61,0x62,0x63}; uint8_t irq[8]={0x0A,0X0B,0X0,0X0a,0X0B,0X05,0X0,0X07};
Modified: trunk/src/mainboard/gigabyte/m57sli/acpi_tables.c ============================================================================== --- trunk/src/mainboard/gigabyte/m57sli/acpi_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/gigabyte/m57sli/acpi_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -47,7 +47,7 @@ unsigned int gsi_base = 0x18; extern unsigned char bus_mcp55[8]; extern unsigned apicid_mcp55; - extern void get_bus_conf(void); + unsigned sbdn; struct resource *res; device_t dev;
Modified: trunk/src/mainboard/gigabyte/m57sli/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/gigabyte/m57sli/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/gigabyte/m57sli/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -64,7 +64,7 @@ }; unsigned bus_type[256];
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/gigabyte/m57sli/irq_tables.c ============================================================================== --- trunk/src/mainboard/gigabyte/m57sli/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/gigabyte/m57sli/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -53,7 +53,7 @@ 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) {
Modified: trunk/src/mainboard/gigabyte/m57sli/mptable.c ============================================================================== --- trunk/src/mainboard/gigabyte/m57sli/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/gigabyte/m57sli/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -34,7 +34,7 @@
extern unsigned bus_type[256];
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/hp/dl145_g3/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/hp/dl145_g3/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/hp/dl145_g3/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -61,7 +61,7 @@ // 0x20202020, };
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/hp/dl145_g3/mptable.c ============================================================================== --- trunk/src/mainboard/hp/dl145_g3/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/hp/dl145_g3/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -41,7 +41,7 @@
#include "mb_sysconf.h"
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/iwill/dk8_htx/acpi_tables.c ============================================================================== --- trunk/src/mainboard/iwill/dk8_htx/acpi_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/iwill/dk8_htx/acpi_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -157,7 +157,7 @@ return current; }
-extern void get_bus_conf(void); +
static void update_ssdtx(void *ssdtx, int i) {
Modified: trunk/src/mainboard/iwill/dk8_htx/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/iwill/dk8_htx/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/iwill/dk8_htx/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -39,7 +39,7 @@ // 0x20202020, };
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/iwill/dk8_htx/irq_tables.c ============================================================================== --- trunk/src/mainboard/iwill/dk8_htx/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/iwill/dk8_htx/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -34,7 +34,7 @@ }
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/iwill/dk8_htx/mptable.c ============================================================================== --- trunk/src/mainboard/iwill/dk8_htx/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/iwill/dk8_htx/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -10,7 +10,7 @@ #include <cpu/amd/amdk8_sysconf.h> #include "mb_sysconf.h"
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/kontron/kt690/acpi_tables.c ============================================================================== --- trunk/src/mainboard/kontron/kt690/acpi_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/kontron/kt690/acpi_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -92,7 +92,7 @@ return current; }
-extern void get_bus_conf(void); +
static void update_ssdtx(void *ssdtx, int i) {
Modified: trunk/src/mainboard/kontron/kt690/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/kontron/kt690/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/kontron/kt690/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -59,7 +59,7 @@ u32 sbdn_rs690; u32 sbdn_sb600;
-extern void get_sblk_pci1234(void); +
static u32 get_bus_conf_done = 0;
Modified: trunk/src/mainboard/kontron/kt690/irq_tables.c ============================================================================== --- trunk/src/mainboard/kontron/kt690/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/kontron/kt690/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -31,7 +31,7 @@
#include <cpu/amd/amdk8_sysconf.h>
-extern void get_bus_conf(void); +
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn, u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
Modified: trunk/src/mainboard/kontron/kt690/mptable.c ============================================================================== --- trunk/src/mainboard/kontron/kt690/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/kontron/kt690/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -36,7 +36,7 @@ extern u32 sbdn_rs690; extern u32 sbdn_sb600;
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/msi/ms7135/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/msi/ms7135/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/msi/ms7135/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -51,7 +51,7 @@ }; unsigned bus_type[256];
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/msi/ms7135/irq_tables.c ============================================================================== --- trunk/src/mainboard/msi/ms7135/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/msi/ms7135/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -37,7 +37,7 @@
extern unsigned char bus_isa; extern unsigned char bus_ck804[6]; -extern void get_bus_conf(void); +
/** * Add one line to IRQ table.
Modified: trunk/src/mainboard/msi/ms7135/mptable.c ============================================================================== --- trunk/src/mainboard/msi/ms7135/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/msi/ms7135/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -36,7 +36,7 @@
extern unsigned bus_type[256];
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/msi/ms7260/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/msi/ms7260/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/msi/ms7260/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -67,7 +67,7 @@
unsigned bus_type[256];
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/msi/ms7260/irq_tables.c ============================================================================== --- trunk/src/mainboard/msi/ms7260/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/msi/ms7260/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -49,7 +49,7 @@ 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) {
Modified: trunk/src/mainboard/msi/ms7260/mptable.c ============================================================================== --- trunk/src/mainboard/msi/ms7260/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/msi/ms7260/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -31,7 +31,7 @@ extern unsigned apicid_mcp55; extern unsigned bus_type[256];
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/msi/ms9185/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/msi/ms9185/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/msi/ms9185/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -62,7 +62,7 @@ // 0x20202020, };
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/msi/ms9185/irq_tables.c ============================================================================== --- trunk/src/mainboard/msi/ms9185/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/msi/ms9185/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -58,7 +58,7 @@ pirq_info->rfu = rfu; }
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/msi/ms9185/mptable.c ============================================================================== --- trunk/src/mainboard/msi/ms9185/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/msi/ms9185/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -38,7 +38,7 @@
#include "mb_sysconf.h"
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/msi/ms9282/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/msi/ms9282/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/msi/ms9282/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -64,7 +64,7 @@ };
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/msi/ms9282/irq_tables.c ============================================================================== --- trunk/src/mainboard/msi/ms9282/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/msi/ms9282/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -55,7 +55,7 @@ pirq_info->rfu = rfu; }
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/msi/ms9282/mptable.c ============================================================================== --- trunk/src/mainboard/msi/ms9282/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/msi/ms9282/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -32,7 +32,7 @@
#include "mb_sysconf.h"
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/msi/ms9652_fam10/acpi_tables.c ============================================================================== --- trunk/src/mainboard/msi/ms9652_fam10/acpi_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/msi/ms9652_fam10/acpi_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -49,7 +49,7 @@ struct mb_sysconf_t *m; //extern unsigned char bus_mcp55[8]; //extern unsigned apicid_mcp55; - extern void get_bus_conf(void); + unsigned sbdn; struct resource *res; device_t dev;
Modified: trunk/src/mainboard/msi/ms9652_fam10/irq_tables.c ============================================================================== --- trunk/src/mainboard/msi/ms9652_fam10/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/msi/ms9652_fam10/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -52,7 +52,7 @@ pirq_info->rfu = rfu; }
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/msi/ms9652_fam10/mptable.c ============================================================================== --- trunk/src/mainboard/msi/ms9652_fam10/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/msi/ms9652_fam10/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -29,7 +29,7 @@
#include "mb_sysconf.h"
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/nvidia/l1_2pvv/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/nvidia/l1_2pvv/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/nvidia/l1_2pvv/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -61,7 +61,7 @@ };
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/nvidia/l1_2pvv/irq_tables.c ============================================================================== --- trunk/src/mainboard/nvidia/l1_2pvv/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/nvidia/l1_2pvv/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -52,7 +52,7 @@ pirq_info->rfu = rfu; }
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/nvidia/l1_2pvv/mptable.c ============================================================================== --- trunk/src/mainboard/nvidia/l1_2pvv/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/nvidia/l1_2pvv/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -29,7 +29,7 @@
#include "mb_sysconf.h"
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/sunw/ultra40/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/sunw/ultra40/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/sunw/ultra40/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -61,7 +61,7 @@ unsigned sbdn3; unsigned sbdnb;
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/sunw/ultra40/irq_tables.c ============================================================================== --- trunk/src/mainboard/sunw/ultra40/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/sunw/ultra40/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -51,7 +51,7 @@ extern unsigned sbdn3; extern unsigned sbdnb;
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/sunw/ultra40/mptable.c ============================================================================== --- trunk/src/mainboard/sunw/ultra40/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/sunw/ultra40/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -32,7 +32,7 @@ extern unsigned sbdn3; extern unsigned sbdnb;
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/supermicro/h8dme/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dme/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/supermicro/h8dme/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -65,7 +65,7 @@ }; unsigned sbdnb;
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/supermicro/h8dme/irq_tables.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dme/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/supermicro/h8dme/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -53,7 +53,7 @@ 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) {
Modified: trunk/src/mainboard/supermicro/h8dme/mptable.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dme/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/supermicro/h8dme/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -33,7 +33,7 @@
extern unsigned char bus_pcix[3]; // under bus_mcp55_2
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/supermicro/h8dmr/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dmr/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/supermicro/h8dmr/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -65,7 +65,7 @@ }; unsigned sbdnb;
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/supermicro/h8dmr/irq_tables.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dmr/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/supermicro/h8dmr/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -53,7 +53,7 @@ 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) {
Modified: trunk/src/mainboard/supermicro/h8dmr/mptable.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dmr/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/supermicro/h8dmr/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -33,7 +33,7 @@
extern unsigned char bus_pcix[3]; // under bus_mcp55_2
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/supermicro/h8dmr_fam10/irq_tables.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dmr_fam10/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/supermicro/h8dmr_fam10/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -52,7 +52,7 @@ pirq_info->rfu = rfu; }
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/supermicro/h8dmr_fam10/mptable.c ============================================================================== --- trunk/src/mainboard/supermicro/h8dmr_fam10/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/supermicro/h8dmr_fam10/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -29,7 +29,7 @@
#include "mb_sysconf.h"
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/supermicro/h8qme_fam10/irq_tables.c ============================================================================== --- trunk/src/mainboard/supermicro/h8qme_fam10/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/supermicro/h8qme_fam10/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -52,7 +52,7 @@ pirq_info->rfu = rfu; }
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/supermicro/h8qme_fam10/mptable.c ============================================================================== --- trunk/src/mainboard/supermicro/h8qme_fam10/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/supermicro/h8qme_fam10/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -29,7 +29,7 @@
#include "mb_sysconf.h"
-extern void get_bus_conf(void); + extern unsigned sbdn3;
static void *smp_write_config_table(void *v)
Modified: trunk/src/mainboard/technexion/tim5690/acpi_tables.c ============================================================================== --- trunk/src/mainboard/technexion/tim5690/acpi_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/technexion/tim5690/acpi_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -92,7 +92,7 @@ return current; }
-extern void get_bus_conf(void); +
static void update_ssdtx(void *ssdtx, int i) {
Modified: trunk/src/mainboard/technexion/tim5690/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/technexion/tim5690/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/technexion/tim5690/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -59,7 +59,7 @@ u32 sbdn_rs690; u32 sbdn_sb600;
-extern void get_sblk_pci1234(void); +
static u32 get_bus_conf_done = 0;
Modified: trunk/src/mainboard/technexion/tim5690/irq_tables.c ============================================================================== --- trunk/src/mainboard/technexion/tim5690/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/technexion/tim5690/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -31,7 +31,7 @@
#include <cpu/amd/amdk8_sysconf.h>
-extern void get_bus_conf(void); +
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn, u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
Modified: trunk/src/mainboard/technexion/tim5690/mptable.c ============================================================================== --- trunk/src/mainboard/technexion/tim5690/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/technexion/tim5690/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -36,7 +36,7 @@ extern u32 sbdn_rs690; extern u32 sbdn_sb600;
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/technexion/tim8690/acpi_tables.c ============================================================================== --- trunk/src/mainboard/technexion/tim8690/acpi_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/technexion/tim8690/acpi_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -92,7 +92,7 @@ return current; }
-extern void get_bus_conf(void); +
static void update_ssdtx(void *ssdtx, int i) {
Modified: trunk/src/mainboard/technexion/tim8690/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/technexion/tim8690/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/technexion/tim8690/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -59,7 +59,7 @@ u32 sbdn_rs690; u32 sbdn_sb600;
-extern void get_sblk_pci1234(void); +
static u32 get_bus_conf_done = 0;
Modified: trunk/src/mainboard/technexion/tim8690/irq_tables.c ============================================================================== --- trunk/src/mainboard/technexion/tim8690/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/technexion/tim8690/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -31,7 +31,7 @@
#include <cpu/amd/amdk8_sysconf.h>
-extern void get_bus_conf(void); +
static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn, u8 link0, u16 bitmap0, u8 link1, u16 bitmap1,
Modified: trunk/src/mainboard/technexion/tim8690/mptable.c ============================================================================== --- trunk/src/mainboard/technexion/tim8690/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/technexion/tim8690/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -36,7 +36,7 @@ extern u32 sbdn_rs690; extern u32 sbdn_sb600;
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/tyan/s2881/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/tyan/s2881/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2881/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -48,7 +48,7 @@ }; unsigned sbdn3;
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/tyan/s2881/irq_tables.c ============================================================================== --- trunk/src/mainboard/tyan/s2881/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2881/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -38,7 +38,7 @@
extern unsigned sbdn3;
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/tyan/s2881/mptable.c ============================================================================== --- trunk/src/mainboard/tyan/s2881/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2881/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -18,7 +18,7 @@
extern unsigned sbdn3;
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/tyan/s2885/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/tyan/s2885/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2885/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -50,7 +50,7 @@ unsigned sbdn3; unsigned sbdn5;
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/tyan/s2885/irq_tables.c ============================================================================== --- trunk/src/mainboard/tyan/s2885/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2885/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -41,7 +41,7 @@ extern unsigned sbdn3; extern unsigned sbdn5;
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/tyan/s2885/mptable.c ============================================================================== --- trunk/src/mainboard/tyan/s2885/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2885/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -21,7 +21,7 @@ extern unsigned sbdn3; extern unsigned sbdn5;
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v)
Modified: trunk/src/mainboard/tyan/s2891/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/tyan/s2891/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2891/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -55,7 +55,7 @@ unsigned sbdn3; unsigned coprocdn;
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/tyan/s2891/irq_tables.c ============================================================================== --- trunk/src/mainboard/tyan/s2891/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2891/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -45,7 +45,7 @@ extern unsigned sbdn3; extern unsigned coprocdn;
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/tyan/s2891/mptable.c ============================================================================== --- trunk/src/mainboard/tyan/s2891/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2891/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -22,7 +22,7 @@
extern unsigned sbdn3;
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/tyan/s2892/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/tyan/s2892/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2892/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -52,7 +52,7 @@
unsigned sbdn3;
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/tyan/s2892/irq_tables.c ============================================================================== --- trunk/src/mainboard/tyan/s2892/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2892/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -43,7 +43,7 @@
extern unsigned sbdn3;
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/tyan/s2892/mptable.c ============================================================================== --- trunk/src/mainboard/tyan/s2892/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2892/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -22,7 +22,7 @@
extern unsigned sbdn3;
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/tyan/s2895/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/tyan/s2895/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2895/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -60,7 +60,7 @@ unsigned sbdn3; unsigned sbdnb;
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/tyan/s2895/irq_tables.c ============================================================================== --- trunk/src/mainboard/tyan/s2895/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2895/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -50,7 +50,7 @@ extern unsigned sbdn3; extern unsigned sbdnb;
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/tyan/s2895/mptable.c ============================================================================== --- trunk/src/mainboard/tyan/s2895/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2895/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -30,7 +30,7 @@ extern unsigned sbdn3; extern unsigned sbdnb;
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/tyan/s2912/get_bus_conf.c ============================================================================== --- trunk/src/mainboard/tyan/s2912/get_bus_conf.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2912/get_bus_conf.c Wed Apr 7 17:30:11 2010 (r5370) @@ -61,7 +61,7 @@ };
-extern void get_sblk_pci1234(void); +
static unsigned get_bus_conf_done = 0;
Modified: trunk/src/mainboard/tyan/s2912/irq_tables.c ============================================================================== --- trunk/src/mainboard/tyan/s2912/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2912/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -52,7 +52,7 @@ pirq_info->rfu = rfu; }
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/tyan/s2912/mptable.c ============================================================================== --- trunk/src/mainboard/tyan/s2912/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2912/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -29,7 +29,7 @@
#include "mb_sysconf.h"
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {
Modified: trunk/src/mainboard/tyan/s2912_fam10/irq_tables.c ============================================================================== --- trunk/src/mainboard/tyan/s2912_fam10/irq_tables.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2912_fam10/irq_tables.c Wed Apr 7 17:30:11 2010 (r5370) @@ -52,7 +52,7 @@ pirq_info->rfu = rfu; }
-extern void get_bus_conf(void); +
unsigned long write_pirq_routing_table(unsigned long addr) {
Modified: trunk/src/mainboard/tyan/s2912_fam10/mptable.c ============================================================================== --- trunk/src/mainboard/tyan/s2912_fam10/mptable.c Wed Apr 7 05:41:39 2010 (r5369) +++ trunk/src/mainboard/tyan/s2912_fam10/mptable.c Wed Apr 7 17:30:11 2010 (r5370) @@ -29,7 +29,7 @@
#include "mb_sysconf.h"
-extern void get_bus_conf(void); +
static void *smp_write_config_table(void *v) {