changeset 826:102b0529d435

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:04:05 +0000
parents 9e7f35a911c3
children e4b01a03c44f
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;
         }