qemu/hw/pci-bridge
David Gibson 91f4c995f2 pci: Make is_bridge a bool
The is_bridge field in PCIDevice acts as a bool, but is declared as an int.
Declare it as a bool for clarity, and change everything that writes it to
use true/false instead of 0/1 to match.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <20190513061939.3464-5-david@gibson.dropbear.id.au>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2019-05-29 18:00:57 -04:00
..
dec.c pci: Make is_bridge a bool 2019-05-29 18:00:57 -04:00
dec.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
gen_pcie_root_port.c gen_pcie_root_port: Add ACS (Access Control Services) capability 2019-03-12 22:31:21 -04:00
i82801b11.c pci: Make is_bridge a bool 2019-05-29 18:00:57 -04:00
ioh3420.c hw/pci-bridge/ioh3420: Remove unuseful header 2018-11-05 13:24:02 -05:00
Kconfig kconfig: add dependencies on CONFIG_MSI_NONBROKEN 2019-03-18 09:39:57 +01:00
Makefile.objs apb: split simba PCI bridge into hw/pci-bridge/simba.c 2018-01-24 19:19:50 +00:00
pci_bridge_dev.c pci: Make is_bridge a bool 2019-05-29 18:00:57 -04:00
pci_expander_bridge.c pci: Simplify pci_bus_is_root() 2019-05-20 18:40:02 -04:00
pcie_pci_bridge.c pci: Make is_bridge a bool 2019-05-29 18:00:57 -04:00
pcie_root_port.c pci: Make is_bridge a bool 2019-05-29 18:00:57 -04:00
simba.c pci: Make is_bridge a bool 2019-05-29 18:00:57 -04:00
xio3130_downstream.c pci: Make is_bridge a bool 2019-05-29 18:00:57 -04:00
xio3130_upstream.c pci: Make is_bridge a bool 2019-05-29 18:00:57 -04:00