mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
x86: pci: Assign pci irqs to all functions
We need walk through all functions within a PCI device and assign their IRQs accordingly. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
93f8a31186
commit
31a2dc6955
3 changed files with 19 additions and 14 deletions
|
@ -98,8 +98,7 @@ void pirq_route_irqs(struct irq_info *irq, int num)
|
|||
}
|
||||
|
||||
/* Bus, device, slots IRQs for {A,B,C,D} */
|
||||
pci_assign_irqs(irq->bus, irq->devfn >> 3, irq->devfn & 7,
|
||||
irq_slot);
|
||||
pci_assign_irqs(irq->bus, irq->devfn >> 3, irq_slot);
|
||||
|
||||
irq++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue