source: rtems/cpukit/libpci/pci_internal.h @ f9fbb333

Last change on this file since f9fbb333 was f9fbb333, checked in by Daniel Hellstrom <daniel@…>, on Aug 30, 2017 at 9:01:38 AM

libpci: fix pci device allocation

The refactoring of pci_dev_create() was incorrect since the code relied on
different defines before including pci/cfg.h. This reverts back to the
original code having two pci_dev_create() one in auto and one in read library.
confdefs.h selectes between the two libraries so both there is no link
conflict.

Updates #3029

  • Property mode set to 100644
File size: 285 bytes
Line 
1/* Private libpci declarations
2 *
3 * COPYRIGHT (c) 2015 Cobham Gaisler AB.
4 *
5 * The license and distribution terms for this file may be
6 * found in the file LICENSE in this distribution or at
7 * http://www.rtems.org/license/LICENSE.
8 */
9
10/* Number of buses */
11extern int pci_bus_cnt;
Note: See TracBrowser for help on using the repository browser.