summaryrefslogtreecommitdiff
path: root/src/mainboard/arima
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2003-07-17 05:16:46 +0000
committerEric Biederman <ebiederm@xmission.com>2003-07-17 05:16:46 +0000
commit2ec0020b3c703122cbe7c1b26ac3ad7ea8074464 (patch)
treecf5e8df3dc2ce11455edf5a7ac158e1dbdbbf310 /src/mainboard/arima
parent5289938f063e6ff69d2167a660674181f2228d12 (diff)
downloadcoreboot-2ec0020b3c703122cbe7c1b26ac3ad7ea8074464.tar.xz
- 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
Diffstat (limited to 'src/mainboard/arima')
-rw-r--r--src/mainboard/arima/hdama/mptable.c8
1 files changed, 4 insertions, 4 deletions
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... */