pci_bridge: Use a default map_irq function
commit659fefeed36a4b58191595cebab2dbc003788d90
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 7 Mar 2013 23:16:54 +0000 (7 16:16 -0700)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 26 Mar 2013 19:02:17 +0000 (26 21:02 +0200)
tree48164f51e5d4de783592004e6e4e249e285781ee
parente5368f0da75c1c668e85398aa930be2f4273e684
pci_bridge: Use a default map_irq function

The PCI bridge spec defines a default swizzle for translating INTx
IRQs from secondary bus to primary.  Use this by default for any
bridge that doesn't set a function.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pci_bridge.c