summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/shared
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-03-15 19:36:41 -0500
committerJoel Sherrill <joel@rtems.org>2016-03-15 19:37:58 -0500
commit364866db1f0df1fedcc7c24a953d5ebf4864e588 (patch)
tree35903e42f43dba34f5fa1a167acf19caa6cab6d6 /c/src/lib/libbsp/i386/shared
parentatsamv-testsuite.tcfg: Add more tests (diff)
downloadrtems-364866db1f0df1fedcc7c24a953d5ebf4864e588.tar.bz2
pc386: Do not include rtems/pci.h from bsp.h. Add bsp/bspimpl.h
Start to migrate private symbols to bsp/bspimpl.h.
Diffstat (limited to 'c/src/lib/libbsp/i386/shared')
-rw-r--r--c/src/lib/libbsp/i386/shared/pci/pci_io.c17
-rw-r--r--c/src/lib/libbsp/i386/shared/pci/pcibios.c6
2 files changed, 22 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/i386/shared/pci/pci_io.c b/c/src/lib/libbsp/i386/shared/pci/pci_io.c
index 5947c04388..b6cd1005f0 100644
--- a/c/src/lib/libbsp/i386/shared/pci/pci_io.c
+++ b/c/src/lib/libbsp/i386/shared/pci/pci_io.c
@@ -1,6 +1,21 @@
+/**
+ * @file
+ *
+ * PCI Support when Configuration Space is in I/O
+ */
+
+/*
+ * COPYRIGHT (c) 2016.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
#include <rtems.h>
-#include <rtems/pci.h>
#include <bsp.h>
+#include <bsp/bspimpl.h>
static int pci_io_initialized = 0;
diff --git a/c/src/lib/libbsp/i386/shared/pci/pcibios.c b/c/src/lib/libbsp/i386/shared/pci/pcibios.c
index e74649413b..173c89f3f8 100644
--- a/c/src/lib/libbsp/i386/shared/pci/pcibios.c
+++ b/c/src/lib/libbsp/i386/shared/pci/pcibios.c
@@ -1,3 +1,9 @@
+/**
+ * @file
+ *
+ * PCI Support when Configuration Space is accessed via BIOS
+ */
+
/*
* This software is Copyright (C) 1998 by T.sqware - all rights limited
* It is provided in to the public domain "as is", can be freely modified