aboutsummaryrefslogtreecommitdiff
path: root/hw/pci.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2009-11-11 14:33:54 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-02 08:57:42 -0600
commitd6318738c3ef83b78cf01f44be8c7fff6dba0572 (patch)
tree59856238822092719fc32d34e04d0a08829fff8f /hw/pci.h
parentbe17dc90b51dc76b529615e8c1ab00127da056e0 (diff)
pci: move apb specific stuff to apb_pci.c
pci code had a TODO to move apb specific pci bridge initialization to apb_pci. Implement this and remove the TODO. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pci.h')
-rw-r--r--hw/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pci.h b/hw/pci.h
index 0baf69bd5d..3e8abad222 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -298,6 +298,7 @@ int pci_read_devaddr(Monitor *mon, const char *addr, int *domp, int *busp,
void pci_info(Monitor *mon);
PCIBus *pci_bridge_init(PCIBus *bus, int devfn, uint16_t vid, uint16_t did,
pci_map_irq_fn map_irq, const char *name);
+PCIDevice *pci_bridge_get_device(PCIBus *bus);
static inline void
pci_set_byte(uint8_t *config, uint8_t val)