This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FEC - fix compile problem with non-net configurations


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 {

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]