From 55a731615980a54d9020ee8b0b9b6ba29ab89fe6 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 14 Feb 2020 17:20:36 +0100 Subject: config: Add Derive copyright and license for new file form the file history. Update #3875. --- cpukit/include/rtems/confdefs.h | 47 +---------------------------------------- 1 file changed, 1 insertion(+), 46 deletions(-) (limited to 'cpukit/include/rtems/confdefs.h') diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h index 1fecfdcbb6..b2a10902e4 100644 --- a/cpukit/include/rtems/confdefs.h +++ b/cpukit/include/rtems/confdefs.h @@ -51,6 +51,7 @@ #include #include #include +#include #include @@ -2658,52 +2659,6 @@ struct _reent *__getreent(void) #endif #endif -/* - * Select PCI Configuration Library - */ -#ifdef RTEMS_PCI_CONFIG_LIB - #ifdef CONFIGURE_INIT - #define PCI_LIB_NONE 0 - #define PCI_LIB_AUTO 1 - #define PCI_LIB_STATIC 2 - #define PCI_LIB_READ 3 - #define PCI_LIB_PERIPHERAL 4 - #if CONFIGURE_PCI_LIB == PCI_LIB_AUTO - #define PCI_CFG_AUTO_LIB - #include - struct pci_bus pci_hb; - #define PCI_LIB_INIT pci_config_auto - #define PCI_LIB_CONFIG pci_config_auto_register - #elif CONFIGURE_PCI_LIB == PCI_LIB_STATIC - #define PCI_CFG_STATIC_LIB - #include - #define PCI_LIB_INIT pci_config_static - #define PCI_LIB_CONFIG NULL - /* Let user define PCI configuration (struct pci_bus pci_hb) */ - #elif CONFIGURE_PCI_LIB == PCI_LIB_READ - #define PCI_CFG_READ_LIB - #include - #define PCI_LIB_INIT pci_config_read - #define PCI_LIB_CONFIG NULL - struct pci_bus pci_hb; - #elif CONFIGURE_PCI_LIB == PCI_LIB_PERIPHERAL - #define PCI_LIB_INIT pci_config_peripheral - #define PCI_LIB_CONFIG NULL - /* Let user define PCI configuration (struct pci_bus pci_hb) */ - #elif CONFIGURE_PCI_LIB == PCI_LIB_NONE - #define PCI_LIB_INIT NULL - #define PCI_LIB_CONFIG NULL - /* No PCI Configuration at all, user can use/debug access routines */ - #else - #error NO PCI LIBRARY DEFINED - #endif - - const int pci_config_lib_type = CONFIGURE_PCI_LIB; - int (*pci_config_lib_init)(void) = PCI_LIB_INIT; - void (*pci_config_lib_register)(void *config) = PCI_LIB_CONFIG; - #endif -#endif - #ifdef __cplusplus } #endif -- cgit v1.2.3