Browse Source

fix 3a780e firewall bus0 dev 3 irq and fix multifunction pcie dev irq.

Change-Id: I4d97ded779e8a81c4f55df5667a5468cac057c39
Signed-off-by: QiaoChong <qiaochong@loongson.cn>
master
QiaoChong 7 years ago
committed by Chong Qiao
parent
commit
8b1e5c0b1f
  1. 4
      Targets/Bonito3a780e/Bonito/tgt_machdep_firewall.c

4
Targets/Bonito3a780e/Bonito/tgt_machdep_firewall.c

@ -1920,7 +1920,7 @@ static char irqbus0[] =
{
[1] = 2,
[2] = 2,
[3] = 3,
[3] = 1,
[4] = 0,
[5] = 1,
[6] = 2,
@ -1986,7 +1986,7 @@ static void pci_fix_device_interrpt(struct pci_device *pd, int bus0tag)
if(bus0dev == 20)
irq = (bus0dev20[dev]+pin-1);
else
irq = (irqbus0[bus0dev]+pin-1);
irq = irqbus0[bus0dev];
if(!irqroute[irq])
{
printf("nomap for busdev %d pin %d irqpin %d\n", bus0dev ,pin ,irq);

Loading…
Cancel
Save