diff options
-rw-r--r-- | sys/net/if.c | 6 | ||||
-rw-r--r-- | sys/net/if_ethersubr.c | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index a6db03d4bcfc..d30f93c5f968 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -546,7 +546,11 @@ if_attach(struct ifnet *ifp) rt_ifannouncemsg(ifp, IFAN_ARRIVAL); if (ifp->if_watchdog != NULL) - if_printf(ifp, "using obsoleted if_watchdog interface\n"); + if_printf(ifp, + "WARNING: using obsoleted if_watchdog interface\n"); + if (ifp->if_flags & IFF_NEEDSGIANT) + if_printf(ifp, + "WARNING: using obsoleted IFF_NEEDSGIANT flag\n"); } static void diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index 07a3fb903775..d18d42255efa 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -908,8 +908,6 @@ ether_ifattach(struct ifnet *ifp, const u_int8_t *lla) break; if (i != ifp->if_addrlen) if_printf(ifp, "Ethernet address: %6D\n", lla, ":"); - if (ifp->if_flags & IFF_NEEDSGIANT) - if_printf(ifp, "if_start running deferred for Giant\n"); } /* |