changeset 581:e2b797ca39b4

* src/net/eth_drv.c: If driver can't set multi-cast, indicate it's only a warning.
author jlarmour
date Fri, 07 Feb 2003 00:27:08 +0000
parents d13814ac7bd2
children f2d369dad95f
files packages/io/eth/current/ChangeLog packages/io/eth/current/src/net/eth_drv.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/io/eth/current/ChangeLog
+++ b/packages/io/eth/current/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-07  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* src/net/eth_drv.c: If driver can't set multi-cast, indicate it's
+	only a warning.
+
 2002-08-14  Gary Thomas  <gthomas@ecoscentric.com>
 
 	* cdl/eth_drivers.cdl: CYGNUM_IO_ETH_DRIVERS_SG_LIST_SIZE 
--- a/packages/io/eth/current/src/net/eth_drv.c
+++ b/packages/io/eth/current/src/net/eth_drv.c
@@ -574,7 +574,8 @@ eth_drv_ioctl(struct ifnet *ifp, u_long 
         // Note: drivers may behave like IFF_ALLMULTI if the list is 
         // more than their hardware can handle, e.g. some can only handle 1.
         if ((sc->funs->control)(sc, mode, &mc_list, sizeof(mc_list))) {
-            diag_printf("Driver can't set multi-cast mode\n");
+            diag_printf( "[%s] Warning: Driver can't set multi-cast mode\n",
+                         __FUNCTION__ );
             error = EINVAL;
         }
         break;