On 07/22/2013 06:36 PM, Andreas Färber wrote:
> Introduce TYPE_PCI_BRIDGE as base type and use PCI_BRIDGE() casts.
> 
> Signed-off-by: Andreas Färber <afaer...@suse.de>
> ---
>  hw/pci-bridge/dec.c                |  4 ++--
>  hw/pci-bridge/i82801b11.c          |  6 +++---
>  hw/pci-bridge/ioh3420.c            | 18 ++++++++---------
>  hw/pci-bridge/pci_bridge_dev.c     | 10 +++++-----
>  hw/pci-bridge/xio3130_downstream.c | 18 ++++++++---------
>  hw/pci-bridge/xio3130_upstream.c   | 19 +++++++++---------
>  hw/pci-host/apb.c                  |  4 ++--
>  hw/pci/pci.c                       |  2 +-
>  hw/pci/pci_bridge.c                | 40 
> +++++++++++++++++++++++++++-----------
>  hw/pci/pcie.c                      |  2 +-
>  include/hw/pci/pci_bus.h           |  7 ++++++-
>  11 files changed, 77 insertions(+), 53 deletions(-)

Saved me the trouble of doing this myself. Thanks! ;)

Reviewed-by: Don Koch <dk...@verizon.com>


Reply via email to