Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/of_pci.h>
#include <linux/of_irq.h>
#include <linux/export.h>
#include <asm/prom.h>
Go to the source code of this file.
Functions | |
int | of_irq_map_pci (const struct pci_dev *pdev, struct of_irq *out_irq) |
EXPORT_SYMBOL_GPL (of_irq_map_pci) | |
EXPORT_SYMBOL_GPL | ( | of_irq_map_pci | ) |
of_irq_map_pci - Resolve the interrupt for a PCI device : the device whose interrupt is to be resolved : structure of_irq filled by this function
This function resolves the PCI interrupt for a given PCI device. If a device-node exists for a given pci_dev, it will use normal OF tree walking. If not, it will implement standard swizzling and walk up the PCI tree until an device-node is found, at which point it will finish resolving using the OF tree walking.
Definition at line 18 of file of_pci_irq.c.