From 2ec0020b3c703122cbe7c1b26ac3ad7ea8074464 Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Thu, 17 Jul 2003 05:16:46 +0000 Subject: - Get the correct routing tables entries for the hdama's onboard nics git-svn-id: svn://svn.coreboot.org/coreboot/trunk@972 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/arima/hdama/mptable.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/mainboard/arima/hdama/mptable.c b/src/mainboard/arima/hdama/mptable.c index ef1037993f..43c122e129 100644 --- a/src/mainboard/arima/hdama/mptable.c +++ b/src/mainboard/arima/hdama/mptable.c @@ -92,14 +92,14 @@ void *smp_write_config_table(void *v, unsigned long * processor_map) if (dev) { base = pci_read_config32(dev, PCI_BASE_ADDRESS_0); base &= PCI_BASE_ADDRESS_MEM_MASK; - smp_write_ioapic(mc, 3, 0x11, base); + smp_write_ioapic(mc, 0x03, 0x11, base); } /* 8131 apic 4 */ dev = dev_find_slot(0, PCI_DEVFN(0x02,1)); if (dev) { base = pci_read_config32(dev, PCI_BASE_ADDRESS_0); base &= PCI_BASE_ADDRESS_MEM_MASK; - smp_write_ioapic(mc, 4, 0x11, base); + smp_write_ioapic(mc, 0x04, 0x11, base); } } @@ -212,9 +212,9 @@ void *smp_write_config_table(void *v, unsigned long * processor_map) /* On board nics */ smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_DEFAULT|MP_IRQ_POLARITY_DEFAULT, - bus_8131_1, (3<<2)|0, 0x03, 0x3); + bus_8131_1, (3<<2)|0, 0x02, 0x13); smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_DEFAULT|MP_IRQ_POLARITY_DEFAULT, - bus_8131_1, (4<<2)|0, 0x03, 0x0); + bus_8131_1, (4<<2)|0, 0x02, 0x13); /* There is no extension information... */ -- cgit v1.2.3