Author: stepan Date: Wed Mar 17 04:40:23 2010 New Revision: 5245 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5245
Log: bug fix for IOAPIC on i82801dx.
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/src/southbridge/intel/i82801dx/i82801dx_lpc.c
Modified: trunk/src/southbridge/intel/i82801dx/i82801dx_lpc.c ============================================================================== --- trunk/src/southbridge/intel/i82801dx/i82801dx_lpc.c Wed Mar 17 04:37:18 2010 (r5244) +++ trunk/src/southbridge/intel/i82801dx/i82801dx_lpc.c Wed Mar 17 04:40:23 2010 (r5245) @@ -38,8 +38,8 @@ static void i82801dx_enable_ioapic(struct device *dev) { u32 reg32; - volatile u32 *ioapic_index = (volatile u32 *)IO_APIC_ADDR; - volatile u32 *ioapic_data = (volatile u32 *)IO_APIC_ADDR + 0x10; + volatile u32 *ioapic_index = (volatile u32 *)(IO_APIC_ADDR); + volatile u32 *ioapic_data = (volatile u32 *)(IO_APIC_ADDR + 0x10);
/* Set ACPI base address (I/O space). */ pci_write_config32(dev, PMBASE, (PMBASE_ADDR | 1));