diff options
Diffstat (limited to 'cpukit/libpci/pci/cfg_read.h')
-rw-r--r-- | cpukit/libpci/pci/cfg_read.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cpukit/libpci/pci/cfg_read.h b/cpukit/libpci/pci/cfg_read.h new file mode 100644 index 0000000000..af60a4e5e3 --- /dev/null +++ b/cpukit/libpci/pci/cfg_read.h @@ -0,0 +1,22 @@ +/* PCI Read Configuration Library. Read current config that bootloader/BIOS + * has setup. + * + * 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_READ_H__ +#define __PCI_CFG_READ_H__ + +/* Build PCI device tree in "struct pci_bus pci_hb" according to current setup + * in hardware. Devices/buses are created by reading the resource assignments + * that the BIOS/bootloader has already setup for us. + */ +extern int pci_config_read(void); + +#endif |