bug fix for IOAPIC on i82801dx.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5245 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
48f3e2b5e1
commit
5c32d242e4
|
@ -38,8 +38,8 @@ typedef struct southbridge_intel_i82801dx_config config_t;
|
||||||
static void i82801dx_enable_ioapic(struct device *dev)
|
static void i82801dx_enable_ioapic(struct device *dev)
|
||||||
{
|
{
|
||||||
u32 reg32;
|
u32 reg32;
|
||||||
volatile u32 *ioapic_index = (volatile u32 *)IO_APIC_ADDR;
|
volatile u32 *ioapic_index = (volatile u32 *)(IO_APIC_ADDR);
|
||||||
volatile u32 *ioapic_data = (volatile u32 *)IO_APIC_ADDR + 0x10;
|
volatile u32 *ioapic_data = (volatile u32 *)(IO_APIC_ADDR + 0x10);
|
||||||
|
|
||||||
/* Set ACPI base address (I/O space). */
|
/* Set ACPI base address (I/O space). */
|
||||||
pci_write_config32(dev, PMBASE, (PMBASE_ADDR | 1));
|
pci_write_config32(dev, PMBASE, (PMBASE_ADDR | 1));
|
||||||
|
|
Loading…
Reference in New Issue