summaryrefslogtreecommitdiffstats
path: root/src/include/hw/pci/slotid_cap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/hw/pci/slotid_cap.h')
-rw-r--r--src/include/hw/pci/slotid_cap.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/hw/pci/slotid_cap.h b/src/include/hw/pci/slotid_cap.h
new file mode 100644
index 0000000..70db047
--- /dev/null
+++ b/src/include/hw/pci/slotid_cap.h
@@ -0,0 +1,11 @@
+#ifndef PCI_SLOTID_CAP_H
+#define PCI_SLOTID_CAP_H
+
+#include "qemu-common.h"
+
+int slotid_cap_init(PCIDevice *dev, int nslots,
+ uint8_t chassis,
+ unsigned offset);
+void slotid_cap_cleanup(PCIDevice *dev);
+
+#endif
OpenPOWER on IntegriCloud