Magnus Christensson wrote:
Specifically, what does the pci_slot_get_pirq function do? It looks like it assigns different interrupt numbers to devices depending on their device number.
I haven't looked at the code or the context but this is the behaviour you need to determine the interrupt line in use behind a plug-in bridge.
Andrew