p64h2_enable_ioapic

Andrew Ip aip at cwlinux.com
Sun Oct 5 06:21:01 CEST 2003


Hi,

In src/southbridge/intel/82870/p64h2_ioapic.c,
p64h2_enable_ioapic is hard coded to initialize io apic address numbers 
3,4,5,&8.  However, I have a custom board which has 3,4,5,8,9 and 10.
In order to get it to work, I have to change
for(i=0,dev=0;i<4;i++) {
to
for(i=0,dev=0;i<6;i++) {

To fix it properly, I think we have to detect the number of APIC instead
of hard code it.  Comment?

-Andrew

-- 
Andrew Ip
Email:  aip at cwlinux.com
Tel:    (852) 2542 2046
Fax:    (852) 2542 2036
Mobile: (852) 9201 9866

Cwlinux Limited
Unit 202B 2/F Lai Cheong Factory Building,
479-479A Castle Peak Road,
Lai Chi Kok, Kowloon,
Hong Kong.

For public pgp key, please obtain it from http://www.keyserver.net/en.



More information about the coreboot mailing list