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

5
Last change on this file since f9fbb333 was f9fbb333, checked in by Daniel Hellstrom <daniel@…>, on 08/30/17 at 09:01:38

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.