Changeset 346a9a5 in rtems for cpukit/libpci/pci.h


Ignore:
Timestamp:
Apr 8, 2015, 8:16:51 AM (5 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
1f4f1e2e
Parents:
15620f5b
git-author:
Daniel Hellstrom <daniel@…> (04/08/15 08:16:51)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:28)
Message:

LIBPCI: use enum with pci_system_type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libpci/pci.h

    r15620f5b r346a9a5  
    5454 * The active configuration Library set this variable.
    5555 */
    56 enum {
     56enum pci_system_type {
    5757        PCI_SYSTEM_NONE = 0,
    5858        PCI_SYSTEM_HOST = 1,
    5959        PCI_SYSTEM_PERIPHERAL = 2,
    6060};
    61 extern int pci_system_type;
     61extern enum pci_system_type pci_system_type;
    6262
    6363/* PCI Bus Endianness. The PCI specification is little endian, however on some
Note: See TracChangeset for help on using the changeset viewer.