17 #ifndef _RTEMS_CONFDEFS_LIBPCI_H 18 #define _RTEMS_CONFDEFS_LIBPCI_H 20 #ifndef __CONFIGURATION_TEMPLATE_h 21 #error "Do not include this file directly, use <rtems/confdefs.h> instead" 27 #ifdef RTEMS_PCI_CONFIG_LIB 29 #define PCI_LIB_NONE 0 30 #define PCI_LIB_AUTO 1 31 #define PCI_LIB_STATIC 2 32 #define PCI_LIB_READ 3 33 #define PCI_LIB_PERIPHERAL 4 34 #if CONFIGURE_PCI_LIB == PCI_LIB_AUTO 35 #define PCI_CFG_AUTO_LIB 38 #define PCI_LIB_INIT pci_config_auto 39 #define PCI_LIB_CONFIG pci_config_auto_register 40 #elif CONFIGURE_PCI_LIB == PCI_LIB_STATIC 41 #define PCI_CFG_STATIC_LIB 43 #define PCI_LIB_INIT pci_config_static 44 #define PCI_LIB_CONFIG NULL 46 #elif CONFIGURE_PCI_LIB == PCI_LIB_READ 47 #define PCI_CFG_READ_LIB 49 #define PCI_LIB_INIT pci_config_read 50 #define PCI_LIB_CONFIG NULL 52 #elif CONFIGURE_PCI_LIB == PCI_LIB_PERIPHERAL 53 #define PCI_LIB_INIT pci_config_peripheral 54 #define PCI_LIB_CONFIG NULL 56 #elif CONFIGURE_PCI_LIB == PCI_LIB_NONE 57 #define PCI_LIB_INIT NULL 58 #define PCI_LIB_CONFIG NULL 61 #error NO PCI LIBRARY DEFINED 64 const int pci_config_lib_type = CONFIGURE_PCI_LIB;
65 int (*pci_config_lib_init)(void) = PCI_LIB_INIT;
66 void (*pci_config_lib_register)(
void *
config) = PCI_LIB_CONFIG;
Definition: deflate.c:115