changeset 766:117841263956

* src/sys/net/if.c (if_attach): Removed printf which causes the ethernet device to become corrupt. At this point the app driver has started but not completed taking over from the redboot driver. It is unsafe for redboot to use the ethernet device.
author asl
date Fri, 14 Mar 2003 13:44:37 +0000
parents a4d20acb2243
children c043b17d4bec
files packages/net/bsd_tcpip/current/ChangeLog packages/net/bsd_tcpip/current/src/sys/net/if.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packages/net/bsd_tcpip/current/ChangeLog
+++ b/packages/net/bsd_tcpip/current/ChangeLog
@@ -1,3 +1,10 @@
+2003-03-14  Andrew Lunn  <andrew.lunn@ascom.ch>
+
+	* src/sys/net/if.c (if_attach): Removed printf which causes the
+	ethernet device to become corrupt. At this point the app driver
+	has started but not completed taking over from the redboot
+	driver. It is unsafe for redboot to use the ethernet device.
+
 2003-02-24  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* cdl/freebsd_net.cdl: Fix doc link.
--- a/packages/net/bsd_tcpip/current/src/sys/net/if.c
+++ b/packages/net/bsd_tcpip/current/src/sys/net/if.c
@@ -194,8 +194,6 @@ if_attach(ifp)
 	}
 
         if (ifp->if_snd.ifq_maxlen == 0) {
-            printf("%s%d XXX: driver didn't set ifq_maxlen\n",
-                   ifp->if_name, ifp->if_unit);
             ifp->if_snd.ifq_maxlen = ifqmaxlen;
         }