blob: cbd31e4480b3eed6178927fd1ddcbbcab7ae48b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/**
* @file
*
* @brief PCI Read Configuration Library
*
* Read current config where 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.org/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
|