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:
@@ -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__ */
|
||||
|
||||
|
Reference in New Issue
Block a user