This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
FEC - fix compile problem with non-net configurations
- From: Gary Thomas <gary at mlbassoc dot com>
- To: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: 14 May 2003 09:12:09 -0600
- Subject: FEC - fix compile problem with non-net configurations
- Organization: MLB Associates
In particular, the change to require serial console for the network
driver made it impossible to build RedBoot :-(
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
Index: devs/eth/powerpc/fec/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/devs/eth/powerpc/fec/current/ChangeLog,v
retrieving revision 1.18
diff -u -5 -p -r1.18 ChangeLog
--- devs/eth/powerpc/fec/current/ChangeLog 4 May 2003 17:37:10 -0000 1.18
+++ devs/eth/powerpc/fec/current/ChangeLog 14 May 2003 15:09:11 -0000
@@ -1,5 +1,10 @@
+2003-05-14 Gary Thomas <gary@mlbassoc.com>
+
+ * cdl/fec_eth_drivers.cdl: Only force serial console for eCos
+ configurations (using actual network package).
+
2003-05-04 Gary Thomas <gary@mlbassoc.com>
* src/if_fec.c:
* cdl/fec_eth_drivers.cdl: Add control over use of LED display, since
it may interfere with some user programs. Also, debug I/O during
Index: devs/eth/powerpc/fec/current/cdl/fec_eth_drivers.cdl
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/devs/eth/powerpc/fec/current/cdl/fec_eth_drivers.cdl,v
retrieving revision 1.8
diff -u -5 -p -r1.8 fec_eth_drivers.cdl
--- devs/eth/powerpc/fec/current/cdl/fec_eth_drivers.cdl 4 May 2003 17:37:10 -0000 1.8
+++ devs/eth/powerpc/fec/current/cdl/fec_eth_drivers.cdl 14 May 2003 15:07:35 -0000
@@ -63,11 +63,11 @@ cdl_package CYGPKG_DEVS_ETH_POWERPC_FEC
implements CYGINT_IO_ETH_MULTICAST
include_dir .
include_files ; # none _exported_ whatsoever
# Debug I/O during network stack initialization is not reliable
- requires { CYGPKG_NET_FORCE_SERIAL_CONSOLE == 1 }
+ requires { !CYGPKG_NET || CYGPKG_NET_FORCE_SERIAL_CONSOLE == 1 }
description "Fast ethernet driver for PowerPC MPC8xxT boards."
compile -library=libextras.a if_fec.c
cdl_option CYGNUM_DEVS_ETH_POWERPC_FEC_BD_OFFSET {