From 53360f3dea59016fe65563e1e8bef6aa5b0f49ba Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Sat, 13 Nov 2004 17:11:08 +0000 Subject: [PATCH] RTEMS-4.7 changes. --- src/RTEMS/base/rtems_config.c | 2 +- src/RTEMS/base/rtems_netconfig.c | 20 +++++++++----------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/src/RTEMS/base/rtems_config.c b/src/RTEMS/base/rtems_config.c index e01131ae2..94b740de3 100644 --- a/src/RTEMS/base/rtems_config.c +++ b/src/RTEMS/base/rtems_config.c @@ -52,4 +52,4 @@ rtems_task Init (rtems_task_argument argument); #define CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER #endif -#include +#include diff --git a/src/RTEMS/base/rtems_netconfig.c b/src/RTEMS/base/rtems_netconfig.c index 01f6c4774..40fdc3204 100644 --- a/src/RTEMS/base/rtems_netconfig.c +++ b/src/RTEMS/base/rtems_netconfig.c @@ -54,17 +54,15 @@ static struct rtems_bsdnet_ifconfig e3c509_driver_config = { #else # if defined(__PPC) - /* - * FIXME: This really belongs in the BSP - */ -# if defined(mpc750) -# ifndef RTEMS_BSP_NETWORK_DRIVER_NAME -# define RTEMS_BSP_NETWORK_DRIVER_NAME "dc1" -# endif -# ifndef RTEMS_BSP_NETWORK_DRIVER_ATTACH -# define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_dec21140_driver_attach - extern int rtems_dec21140_driver_attach(); -# endif + /* + * FIXME: This really belongs in the BSP + */ +# ifndef RTEMS_BSP_NETWORK_DRIVER_NAME +# define RTEMS_BSP_NETWORK_DRIVER_NAME "dc1" +# endif +# ifndef RTEMS_BSP_NETWORK_DRIVER_ATTACH +# define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_dec21140_driver_attach + extern int rtems_dec21140_driver_attach(); # endif # endif