25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: dev_gt.c,v 1.26 2005/08/05 07:50:37 debug Exp $ |
* $Id: dev_gt.c,v 1.27 2005/09/21 19:10:34 debug Exp $ |
29 |
* |
* |
30 |
* Galileo Technology GT-64xxx PCI controller. |
* Galileo Technology GT-64xxx PCI controller. |
31 |
* |
* |
134 |
* Ugly hack, which works for at least evbmips/Malta: |
* Ugly hack, which works for at least evbmips/Malta: |
135 |
*/ |
*/ |
136 |
asserted = |
asserted = |
137 |
(cpu->machine->md_int.isa_pic_data.pic1->irr & |
(cpu->machine->isa_pic_data.pic1->irr & |
138 |
~cpu->machine->md_int.isa_pic_data.pic1->ier) | |
~cpu->machine->isa_pic_data.pic1->ier) | |
139 |
((cpu->machine->md_int.isa_pic_data.pic2->irr & |
((cpu->machine->isa_pic_data.pic2->irr & |
140 |
~cpu->machine->md_int.isa_pic_data.pic2->ier) << 8); |
~cpu->machine->isa_pic_data.pic2->ier) << 8); |
141 |
odata = 7; /* "Spurious interrupt" defaults to 7. */ |
odata = 7; /* "Spurious interrupt" defaults to 7. */ |
142 |
for (i=0; i<16; i++) |
for (i=0; i<16; i++) |
143 |
if ((asserted >> i) & 1) { |
if ((asserted >> i) & 1) { |