summaryrefslogtreecommitdiffstats
path: root/cpukit/libpci/pci/cfg_peripheral.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libpci/pci/cfg_peripheral.h')
-rw-r--r--cpukit/libpci/pci/cfg_peripheral.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/cpukit/libpci/pci/cfg_peripheral.h b/cpukit/libpci/pci/cfg_peripheral.h
new file mode 100644
index 0000000000..68f2e24e2f
--- /dev/null
+++ b/cpukit/libpci/pci/cfg_peripheral.h
@@ -0,0 +1,20 @@
+/* PCI Peripheral Configuration Library
+ *
+ * COPYRIGHT (c) 2010.
+ * Cobham Gaisler AB.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ */
+
+#ifndef __PCI_CFG_PERIPHERAL_H__
+#define __PCI_CFG_PERIPHERAL_H__
+
+/* The user must provide a PCI configuration using the "struct pci_bus pci_hb"
+ * structure. Nothing else than setting pci_system_type and pci_bus_cnt is done
+ * by the peripheral library.
+ */
+extern int pci_config_peripheral(void);
+
+#endif