diff --git a/src/southbridge/nvidia/ck804/ck804_lpc.c b/src/southbridge/nvidia/ck804/ck804_lpc.c index ea37b241d5..e406df34a7 100644 --- a/src/southbridge/nvidia/ck804/ck804_lpc.c +++ b/src/southbridge/nvidia/ck804/ck804_lpc.c @@ -2,6 +2,7 @@ * (C) 2003 Linux Networx, SuSE Linux AG * Copyright 2004 Tyan Computer * by yhlu@tyan.com + * 2006.1 yhlu add dest apicid for IRQ0 */ #include #include @@ -13,6 +14,7 @@ #include #include #include +#include #include "ck804.h" #define CK804_CHIP_REV 2 @@ -76,6 +78,8 @@ static void setup_ioapic(unsigned long ioapic_base) volatile unsigned long *l; struct ioapicreg *a = ioapicregvalues; + ioapicregvalues[0].value_high = lapicid()<<(56-32); + l = (unsigned long *) ioapic_base; for (i = 0; i < sizeof(ioapicregvalues) / sizeof(ioapicregvalues[0]);