diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2015-04-08 10:16:51 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2015-04-17 01:10:28 +0200 |
commit | 346a9a5739688c19eb25d7f72b400dd4056b8ce4 (patch) | |
tree | 99ec9fb9f412bd3c241a94b5f67fb2bbd08aa078 /cpukit/libpci/pci.h | |
parent | LIBPCI: use RTEMS_INLINE_ROUTINE (diff) | |
download | rtems-346a9a5739688c19eb25d7f72b400dd4056b8ce4.tar.bz2 |
LIBPCI: use enum with pci_system_type
Diffstat (limited to 'cpukit/libpci/pci.h')
-rw-r--r-- | cpukit/libpci/pci.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libpci/pci.h b/cpukit/libpci/pci.h index fc33bbb18a..efefcecaa9 100644 --- a/cpukit/libpci/pci.h +++ b/cpukit/libpci/pci.h @@ -53,12 +53,12 @@ enum { * * The active configuration Library set this variable. */ -enum { +enum pci_system_type { PCI_SYSTEM_NONE = 0, PCI_SYSTEM_HOST = 1, PCI_SYSTEM_PERIPHERAL = 2, }; -extern int pci_system_type; +extern enum pci_system_type pci_system_type; /* PCI Bus Endianness. The PCI specification is little endian, however on some * embedded systems (AT697-LEON2 for example) the PCI bus is defined as big |