mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2004-03-05 Joel Sherrill <joel@OARcorp.com>
* libchipnetwork/open_eth.c: Remove warnings by conditionally compiling this file only only those CPU families with supported exception models.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2004-03-05 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* libchipnetwork/open_eth.c: Remove warnings by conditionally
|
||||||
|
compiling this file only only those CPU families with supported
|
||||||
|
exception models.
|
||||||
|
|
||||||
2004-02-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2004-02-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* acinclude.m4: Fix loosing arguments when configuring cpukit and
|
* acinclude.m4: Fix loosing arguments when configuring cpukit and
|
||||||
|
|||||||
@@ -10,6 +10,22 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This driver current only supports architectures with the old style
|
||||||
|
* exception processing. The following checks try to keep this
|
||||||
|
* from being compiled on systems which can't support this driver.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#if defined(__i386__)
|
||||||
|
#define OPENETH_NOT_SUPPORTED
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__PPC__) && (defined(mpc604) || defined(mpc750) || defined(mpc603e))
|
||||||
|
#define OPENETH_NOT_SUPPORTED
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(OPENETH_NOT_SUPPORTED)
|
||||||
|
#include <bsp.h>
|
||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
|
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
@@ -736,3 +752,5 @@ rtems_open_eth_driver_attach (struct rtems_bsdnet_ifconfig *config,
|
|||||||
#endif
|
#endif
|
||||||
return 1;
|
return 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif /* OPENETH_NOT_SUPPORTED */
|
||||||
|
|||||||
Reference in New Issue
Block a user