mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +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
|
@ -72,11 +72,10 @@ int pci_x86_write_config(struct udevice *bus, pci_dev_t bdf, uint offset,
|
|||
*
|
||||
* @bus: PCI bus number
|
||||
* @device: PCI device number
|
||||
* @func: PCI function number
|
||||
* @irq: An array of IRQ numbers that are assigned to INTA through
|
||||
* INTD of this PCI device.
|
||||
*/
|
||||
void pci_assign_irqs(int bus, int device, int func, u8 irq[4]);
|
||||
void pci_assign_irqs(int bus, int device, u8 irq[4]);
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue