Now pci.c has grown. So split bridge related code into dedicated file
for further extension to pci bridge. Further clean up and pcie port emulator.
This make patch conflict less possible in future.

Isaku Yamahata (2):
  pci/bridge: allocate PCIBus dynamically for PCIBridge.
  pci/bridge: split out pci bridge code into pci_bridge.c from pci.c

 Makefile.objs   |    2 +-
 hw/apb_pci.c    |    1 +
 hw/dec_pci.c    |    1 +
 hw/pci.c        |  177 ++++-------------------------------------------------
 hw/pci.h        |    9 ++-
 hw/pci_bridge.c |  184 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 hw/pci_bridge.h |   41 ++++++++++++
 7 files changed, 247 insertions(+), 168 deletions(-)
 create mode 100644 hw/pci_bridge.c
 create mode 100644 hw/pci_bridge.h


Reply via email to