Author: ward Date: 2008-04-23 19:55:25 +0200 (Wed, 23 Apr 2008) New Revision: 3255
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2892/mptable.c Log:
Fix irqs for secondary ports on both sata controllers.
Signed-off-by: Myles Watson mylesgw@gmail.com Acked-by: Ward Vandewege ward@gnu.org
Modified: trunk/coreboot-v2/src/mainboard/tyan/s2892/mptable.c =================================================================== --- trunk/coreboot-v2/src/mainboard/tyan/s2892/mptable.c 2008-04-23 09:27:18 UTC (rev 3254) +++ trunk/coreboot-v2/src/mainboard/tyan/s2892/mptable.c 2008-04-23 17:55:25 UTC (rev 3255) @@ -78,7 +78,7 @@
/* Initialize interrupt mapping*/
- dword = 0x0000d218; + dword = 0x0120d218; pci_write_config32(dev, 0x7c, dword);
dword = 0x12008a00; @@ -190,8 +190,6 @@ smp_write_intsrc(mc, mp_INT, MP_IRQ_TRIGGER_LEVEL|MP_IRQ_POLARITY_LOW, bus_8131_1, (2<<2)|i, apicid_8131_1, (2+i)%4); //26 }
- - /*Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#*/ smp_write_intsrc(mc, mp_ExtINT, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, bus_isa, 0x0, MP_APIC_ALL, 0x0); smp_write_intsrc(mc, mp_NMI, MP_IRQ_TRIGGER_EDGE|MP_IRQ_POLARITY_HIGH, bus_isa, 0x0, MP_APIC_ALL, 0x1);