summaryrefslogtreecommitdiff
path: root/hw/xio3130_downstream.h
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2010-10-20 17:18:55 +0900
committerMichael S. Tsirkin <mst@redhat.com>2010-10-20 12:06:53 +0200
commit48ebf2f90f8fba8c03c0bfdb3bd4fe1e8fd5d61b (patch)
treee4cfeb65288aa6f06f4eafb3ba56f85f26bc4b57 /hw/xio3130_downstream.h
parentfaf1e708d5b432757d88b7229fc3b5f2e71cfb2e (diff)
downloadqemu-48ebf2f90f8fba8c03c0bfdb3bd4fe1e8fd5d61b.tar.gz
x3130: pcie downstream port
Implement TI x3130 pcie downstream port switch. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/xio3130_downstream.h')
-rw-r--r--hw/xio3130_downstream.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/hw/xio3130_downstream.h b/hw/xio3130_downstream.h
new file mode 100644
index 0000000000..010487f2d9
--- /dev/null
+++ b/hw/xio3130_downstream.h
@@ -0,0 +1,11 @@
+#ifndef QEMU_XIO3130_DOWNSTREAM_H
+#define QEMU_XIO3130_DOWNSTREAM_H
+
+#include "pcie_port.h"
+
+PCIESlot *xio3130_downstream_init(PCIBus *bus, int devfn, bool multifunction,
+ const char *bus_name, pci_map_irq_fn map_irq,
+ uint8_t port, uint8_t chassis,
+ uint16_t slot);
+
+#endif /* QEMU_XIO3130_DOWNSTREAM_H */