summaryrefslogtreecommitdiffstats
path: root/cpukit/libpci/pci_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libpci/pci_internal.h')
-rw-r--r--cpukit/libpci/pci_internal.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/cpukit/libpci/pci_internal.h b/cpukit/libpci/pci_internal.h
new file mode 100644
index 0000000000..b45ef561f3
--- /dev/null
+++ b/cpukit/libpci/pci_internal.h
@@ -0,0 +1,14 @@
+/* Private libpci declarations
+ *
+ * COPYRIGHT (c) 2015 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.
+ */
+
+/* Number of buses */
+extern int pci_bus_cnt;
+
+/* Allocate a PCI device for a standard device or a bridge device */
+struct pci_dev *pci_dev_create(int isbus);