Author: stepan Date: 2007-11-04 17:50:27 +0100 (Sun, 04 Nov 2007) New Revision: 2941
Modified: trunk/LinuxBIOSv2/src/mainboard/agami/aruma/acpi_tables.c trunk/LinuxBIOSv2/src/mainboard/amd/serengeti_cheetah/acpi_tables.c trunk/LinuxBIOSv2/src/mainboard/intel/xe7501devkit/acpi_tables.c trunk/LinuxBIOSv2/src/mainboard/iwill/dk8_htx/acpi_tables.c trunk/LinuxBIOSv2/src/mainboard/via/epia-m/acpi_tables.c trunk/LinuxBIOSv2/src/northbridge/via/vt8623/northbridge.c Log: Add dummy function for MCFG on those mainboards that provide ACPI but don't have PCIe MMCONFIG.
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/LinuxBIOSv2/src/mainboard/agami/aruma/acpi_tables.c =================================================================== --- trunk/LinuxBIOSv2/src/mainboard/agami/aruma/acpi_tables.c 2007-11-04 16:25:05 UTC (rev 2940) +++ trunk/LinuxBIOSv2/src/mainboard/agami/aruma/acpi_tables.c 2007-11-04 16:50:27 UTC (rev 2941) @@ -65,6 +65,11 @@ extern unsigned hcdn[]; extern unsigned sbdnx[7]; // for all 8131
+unsigned long acpi_fill_mcfg(unsigned long current) +{ + /* Just a dummy */ + return current; +}
unsigned long acpi_fill_madt(unsigned long current) {
Modified: trunk/LinuxBIOSv2/src/mainboard/amd/serengeti_cheetah/acpi_tables.c =================================================================== --- trunk/LinuxBIOSv2/src/mainboard/amd/serengeti_cheetah/acpi_tables.c 2007-11-04 16:25:05 UTC (rev 2940) +++ trunk/LinuxBIOSv2/src/mainboard/amd/serengeti_cheetah/acpi_tables.c 2007-11-04 16:50:27 UTC (rev 2941) @@ -48,6 +48,12 @@
#define IO_APIC_ADDR 0xfec00000UL
+unsigned long acpi_fill_mcfg(unsigned long current) +{ + /* Just a dummy */ + return current; +} + unsigned long acpi_fill_madt(unsigned long current) { unsigned int gsi_base=0x18;
Modified: trunk/LinuxBIOSv2/src/mainboard/intel/xe7501devkit/acpi_tables.c =================================================================== --- trunk/LinuxBIOSv2/src/mainboard/intel/xe7501devkit/acpi_tables.c 2007-11-04 16:25:05 UTC (rev 2940) +++ trunk/LinuxBIOSv2/src/mainboard/intel/xe7501devkit/acpi_tables.c 2007-11-04 16:50:27 UTC (rev 2941) @@ -14,10 +14,16 @@ #include "bus.h" #include "ioapic.h"
+unsigned long acpi_fill_mcfg(unsigned long current) +{ + /* Just a dummy */ + return current; +} + unsigned long acpi_fill_srat(unsigned long current) { // Not implemented - return 0; + return current; }
unsigned long acpi_fill_madt(unsigned long current)
Modified: trunk/LinuxBIOSv2/src/mainboard/iwill/dk8_htx/acpi_tables.c =================================================================== --- trunk/LinuxBIOSv2/src/mainboard/iwill/dk8_htx/acpi_tables.c 2007-11-04 16:25:05 UTC (rev 2940) +++ trunk/LinuxBIOSv2/src/mainboard/iwill/dk8_htx/acpi_tables.c 2007-11-04 16:50:27 UTC (rev 2941) @@ -49,6 +49,13 @@
#define IO_APIC_ADDR 0xfec00000UL
+unsigned long acpi_fill_mcfg(unsigned long current) +{ + /* Just a dummy */ + return current; +} + + unsigned long acpi_fill_madt(unsigned long current) { unsigned int gsi_base=0x18;
Modified: trunk/LinuxBIOSv2/src/mainboard/via/epia-m/acpi_tables.c =================================================================== --- trunk/LinuxBIOSv2/src/mainboard/via/epia-m/acpi_tables.c 2007-11-04 16:25:05 UTC (rev 2940) +++ trunk/LinuxBIOSv2/src/mainboard/via/epia-m/acpi_tables.c 2007-11-04 16:50:27 UTC (rev 2941) @@ -13,14 +13,23 @@
extern unsigned char AmlCode[];
+unsigned long acpi_fill_mcfg(unsigned long current) +{ + /* Nothing to do */ + return current; +} + + unsigned long acpi_fill_madt(unsigned long current) { /* Nothing to do */ + return current; }
unsigned long acpi_fill_srat(unsigned long current) { /* No NUMA, no SRAT */ + return current; }
unsigned long write_acpi_tables(unsigned long start)
Modified: trunk/LinuxBIOSv2/src/northbridge/via/vt8623/northbridge.c =================================================================== --- trunk/LinuxBIOSv2/src/northbridge/via/vt8623/northbridge.c 2007-11-04 16:25:05 UTC (rev 2940) +++ trunk/LinuxBIOSv2/src/northbridge/via/vt8623/northbridge.c 2007-11-04 16:50:27 UTC (rev 2941) @@ -20,6 +20,7 @@ * slower than normal, ethernet drops packets). * Apparently these registers govern some sort of bus master behavior. */ +#if 0 static void dump_dev(device_t dev) { int i,j; @@ -32,6 +33,8 @@ printk_debug("\n"); } } +#endif + static void northbridge_init(device_t dev) { device_t fb_dev;