diff packages/redboot/current/src/net/net_io.c @ 191:678094f34118

Merge from eCos master repository on 2001-10-19-06:43:02-BST
author jlarmour
date Fri, 19 Oct 2001 07:02:26 +0000
parents 022f1e506033
children ea3f0bd33a73
line wrap: on
line diff
--- a/packages/redboot/current/src/net/net_io.c
+++ b/packages/redboot/current/src/net/net_io.c
@@ -568,6 +568,12 @@ net_init(void)
                          CONFIG_IP);
     }
 #endif
+# ifdef CYGDBG_IO_ETH_DRIVERS_DEBUG
+    // Don't override if the user has deliberately set something more
+    // verbose.
+    if (0 == cyg_io_eth_net_debug)
+        cyg_io_eth_net_debug = net_debug;
+# endif
     have_net = false;
     // Make sure the recv buffers are set up
     eth_drv_buffers_init();