Mercurial > flash_v2
diff packages/io/eth/current/src/net/eth_drv.c @ 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 | bd1db6a90df9 |
| children | a6926bb063e1 |
line wrap: on
line diff
--- 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;
