diff options
author | Yinghai Lu <yinghailu@gmail.com> | 2006-05-18 17:09:14 +0000 |
---|---|---|
committer | Yinghai Lu <yinghailu@gmail.com> | 2006-05-18 17:09:14 +0000 |
commit | 9dd8d56192f617bb0afd20a59622f69b92353b2d (patch) | |
tree | aace2113b21e9e8b0d5171e79172080ae43f4582 /src/mainboard/tyan/s2891/irq_tables.c | |
parent | 9a8e36da2dcb67062c442795482095002587763f (diff) |
co processor support with s2891
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2310 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/tyan/s2891/irq_tables.c')
-rw-r--r-- | src/mainboard/tyan/s2891/irq_tables.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/tyan/s2891/irq_tables.c b/src/mainboard/tyan/s2891/irq_tables.c index b4d61aaaea..922dced7c9 100644 --- a/src/mainboard/tyan/s2891/irq_tables.c +++ b/src/mainboard/tyan/s2891/irq_tables.c @@ -38,10 +38,12 @@ extern unsigned char bus_ck804_5; //6 extern unsigned char bus_8131_0;//7 extern unsigned char bus_8131_1;//8 extern unsigned char bus_8131_2;//9 +extern unsigned char bus_coproc_0; extern unsigned sbdn; extern unsigned hcdn[]; extern unsigned sbdn3; +extern unsigned coprocdn; extern void get_bus_conf(void); @@ -91,6 +93,12 @@ unsigned long write_pirq_routing_table(unsigned long addr) //pcix bridge write_pirq_info(pirq_info, bus_8131_0, (sbdn3<<3)|0, 0x1, 0xdef8, 0x2, 0xdef8, 0x3, 0xdef8, 0x4, 0xdef8, 0, 0); pirq_info++; slot_num++; + +//co processor + if(pci1234[2] & 1) { + write_pirq_info(pirq_info, bus_coproc_0, (coprocdn<<3)|0, 0x1, 0xdef8, 0x2, 0xdef8, 0x3, 0xdef8, 0x4, 0xdef8, 0, 0); + pirq_info++; slot_num++; + } #if 0 //smbus |