This is the principle code change required for the recent proposal to support lookup of APIC GSI numbers when devices are attached to subordinate PCI buses. Items that I would suggest for review:
1) Check that removal of irq translation for legacy IRQs (where LEGACY_ISA_IRQS and PCI_IRQ_START were used) is appropriate. 2) Calls are now made to acpi_os_read_pci_configuration() for devices that might not exist resulting in error output to stderr. Perhaps the print in lookup_pci_dev should be removed? I've done my best to prepare this patch properly but beware git and git send-email are new to me so success is not guaranteed. Regards, Mike.
