diff options
author | Stefan Reinauer <stepan@openbios.org> | 2003-10-28 17:02:10 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2003-10-28 17:02:10 +0000 |
commit | 40cba39e34ccbba6fd6ea7a3183b133f094a2466 (patch) | |
tree | dcf463c0a8d2ab7da903d6f7e14f8061402b31e3 /src/arch/i386 | |
parent | 72bc623a50dd0626300250f6f015c8ad082ebae1 (diff) | |
download | coreboot-40cba39e34ccbba6fd6ea7a3183b133f094a2466.tar.xz |
dynamic pirq table fixup
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1237 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386')
-rw-r--r-- | src/arch/i386/boot/pirq_routing.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/arch/i386/boot/pirq_routing.c b/src/arch/i386/boot/pirq_routing.c index 40f64f2c45..3f17bd1aab 100644 --- a/src/arch/i386/boot/pirq_routing.c +++ b/src/arch/i386/boot/pirq_routing.c @@ -14,7 +14,11 @@ void check_pirq_routing_table(void) #if defined(IRQ_SLOT_COUNT) if (sizeof(intel_irq_routing_table) != intel_irq_routing_table.size) { - printk_warning("Inconsistent IRQ routing table size\n"); + printk_warning("Inconsistent IRQ routing table size (0x%x/0x%x)\n", + sizeof(intel_irq_routing_table), + intel_irq_routing_table.size + ); + intel_irq_routing_table.size=sizeof(intel_irq_routing_table); } #endif @@ -35,6 +39,7 @@ void check_pirq_routing_table(void) printk_warning("%s:%6d:%s() - " "checksum is: 0x%02x but should be: 0x%02x\n", __FILE__, __LINE__, __FUNCTION__, rt->checksum, sum); + rt->checksum = sum; } if (rt->signature != PIRQ_SIGNATURE || rt->version != PIRQ_VERSION || |