lwip eth driver fixie

Jani Monoses jani@iv.ro
Fri Jun 21 07:04:00 GMT 2002


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.



More information about the Ecos-patches mailing list