qemu-e2k/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
gen_pcie_root_port.c
i82801b11.c pci: Make is_bridge a bool 2019-05-29 18:00:57 -04:00
ioh3420.c
Kconfig kconfig: add dependencies on CONFIG_MSI_NONBROKEN 2019-03-18 09:39:57 +01:00
Makefile.objs
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