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]

lwip eth driver fixie


Hi
although this driver doesn't (yet) print debug output this patch is needed
because low-level cs8900 expects cyg_io_eth_net_debug to be there if debugging is turned on.BTW it is the only public ll driver that needs this.

in io/eth/current/src/lwip/

--- eth_drv.c   23 May 2002 23:06:02 -0000      1.2
+++ eth_drv.c   21 Jun 2002 13:58:45 -0000
@@ -73,6 +73,10 @@
 CYG_HAL_TABLE_BEGIN( __NETDEVTAB__, netdev );
 CYG_HAL_TABLE_END( __NETDEVTAB_END__, netdev );

+#ifdef CYGDBG_IO_ETH_DRIVERS_DEBUG
+int cyg_io_eth_net_debug = CYGDBG_IO_ETH_DRIVERS_DEBUG_VERBOSITY;
+#endif
+
 // Interfaces exported to drivers

 static void eth_drv_init(struct eth_drv_sc *sc, unsigned char *enaddr);


Jani.


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