qemu-e2k/include/hw/pci
Greg Kurz e8ec4adfe2 spapr: Drop duplicate PCI swizzle code
LSI mapping in spapr currently open-codes standard PCI swizzling. It thus
duplicates the code of pci_swizzle_map_irq_fn().

Expose the swizzling formula so that it can be used with a slot number
when building the device tree. Simply drop pci_spapr_map_irq() and call
pci_swizzle_map_irq_fn() instead.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <155448184841.8446.13959787238854054119.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2019-04-26 11:37:57 +10:00
..
msi.h pci/msi: export msi_is_masked() 2019-02-05 10:58:33 -05:00
msix.h pci: Convert msix_init() to Error and fix callers 2017-02-01 03:37:18 +02:00
pci_bridge.h pci/shpc: perform unplug via the hotplug handler 2018-12-20 11:19:12 -05:00
pci_bus.h pci: Allow PCI bus subtypes to support extended config space accesses 2019-04-09 09:14:47 +10:00
pci_host.h pci: Fold host_buses list into PCIHostState functionality 2013-07-07 23:10:57 +03:00
pci_ids.h pci: Move NVIDIA vendor id to the rest of ids 2019-02-22 10:51:31 -05:00
pci_regs.h pci: Introduce define for PM capability version 1.1 2016-06-02 10:42:09 +08:00
pci.h spapr: Drop duplicate PCI swizzle code 2019-04-26 11:37:57 +10:00
pcie_aer.h pci: Reduce scope of error injection 2017-05-08 20:32:14 +02:00
pcie_host.h ppc4xx: Add device models found in PPC440 core SoCs 2018-02-16 14:06:07 +11:00
pcie_port.h gen_pcie_root_port: Add ACS (Access Control Services) capability 2019-03-12 22:31:21 -04:00
pcie_regs.h pcie: Add a simple PCIe ACS (Access Control Services) helper function 2019-03-12 22:31:21 -04:00
pcie.h pcie: Add a simple PCIe ACS (Access Control Services) helper function 2019-03-12 22:31:21 -04:00
shpc.h pci/shpc: perform unplug via the hotplug handler 2018-12-20 11:19:12 -05:00
slotid_cap.h pci: Convert shpc_init() to Error 2017-07-03 22:29:49 +03:00