summaryrefslogtreecommitdiffstats
path: root/sys/net/if_ethersubr.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-03-07 16:00:44 +0000
committerrwatson <rwatson@FreeBSD.org>2008-03-07 16:00:44 +0000
commit763a53ea3e02d4920425b2eaaf0eeff30959b95b (patch)
treed726f0f93d4cbbfd29007ccba23b6bc9820077a3 /sys/net/if_ethersubr.c
parentd91018d5295aac23fe1c7d830ff91ec90e50fb56 (diff)
downloadFreeBSD-src-763a53ea3e02d4920425b2eaaf0eeff30959b95b.zip
FreeBSD-src-763a53ea3e02d4920425b2eaaf0eeff30959b95b.tar.gz
Move IFF_NEEDSGIANT warning from if_ethersubr.c to if.c so it is displayed
for all network interfaces, not just ethernet-like ones. Upgrade it to a louder WARNING and be explicit that the flag is obsolete. Support for IFF_NEEDSGIANT will be removed in a few months (see arch@ for details) and will not appear in 8.0. Upgrade if_watchdog to a WARNING.
Diffstat (limited to 'sys/net/if_ethersubr.c')
-rw-r--r--sys/net/if_ethersubr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index 07a3fb9..d18d422 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");
}
/*
OpenPOWER on IntegriCloud