From 3419fee5876ffc3a357d619769f78f46ba31c26e Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Wed, 29 Sep 2004 00:39:50 +0000 Subject: [PATCH] Changes for RTEMS pc386 target. --- src/RTEMS/base/rtems_config.c | 4 +++- src/RTEMS/base/rtems_netconfig.c | 8 +------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/RTEMS/base/rtems_config.c b/src/RTEMS/base/rtems_config.c index d1d78be07..727f72dc7 100644 --- a/src/RTEMS/base/rtems_config.c +++ b/src/RTEMS/base/rtems_config.c @@ -48,6 +48,8 @@ rtems_task Init (rtems_task_argument argument); #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER +#if !defined(__i386__) +# define CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER +#endif #include diff --git a/src/RTEMS/base/rtems_netconfig.c b/src/RTEMS/base/rtems_netconfig.c index ba43c88cf..00051aee6 100644 --- a/src/RTEMS/base/rtems_netconfig.c +++ b/src/RTEMS/base/rtems_netconfig.c @@ -38,17 +38,11 @@ static struct rtems_bsdnet_ifconfig loopback_config = { * application directory and make the appropriate changes. */ #if defined(__i386__) -extern int rtems_fxp_attach (struct rtems_bsdnet_ifconfig *, int); -static struct rtems_bsdnet_ifconfig fxp_driver_config = { - "fxp1", /* name */ - rtems_fxp_attach, /* attach function */ - &loopback_config, /* link to next interface */ -}; extern int rtems_3c509_driver_attach (struct rtems_bsdnet_ifconfig *, int); static struct rtems_bsdnet_ifconfig e3c509_driver_config = { "ep0", /* name */ rtems_3c509_driver_attach, /* attach function */ - &fxp_driver_config, /* link to next interface */ + &loopback_config, /* link to next interface */ }; #define FIRST_DRIVER_CONFIG &e3c509_driver_config #else