summaryrefslogtreecommitdiffstats
path: root/sys/net/if.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-04-18 20:39:17 +0000
committerrwatson <rwatson@FreeBSD.org>2009-04-18 20:39:17 +0000
commita4aa8097eaacf8ec63c16fbc4bb688c225bcb8de (patch)
treeba303f7a7cb38cbd4c734dbf8820e27aef16d21f /sys/net/if.h
parentfac27ce7dc33ac3df2b40cb16a94f2296ee6550f (diff)
downloadFreeBSD-src-a4aa8097eaacf8ec63c16fbc4bb688c225bcb8de.zip
FreeBSD-src-a4aa8097eaacf8ec63c16fbc4bb688c225bcb8de.tar.gz
Remove IFF_NEEDSGIANT interface flag: we no longer provide ifnet-layer
infrastructure to support non-MPSAFE network device drivers.
Diffstat (limited to 'sys/net/if.h')
-rw-r--r--sys/net/if.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index f60ddc7..14d61ac 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -149,7 +149,6 @@ struct if_data {
#define IFF_PPROMISC 0x20000 /* (n) user-requested promisc mode */
#define IFF_MONITOR 0x40000 /* (n) user-requested monitor mode */
#define IFF_STATICARP 0x80000 /* (n) static ARP */
-#define IFF_NEEDSGIANT 0x100000 /* (i) hold Giant over if_start calls */
/*
* Old names for driver flags so that user space tools can continue to use
@@ -163,8 +162,7 @@ struct if_data {
/* flags set internally only: */
#define IFF_CANTCHANGE \
(IFF_BROADCAST|IFF_POINTOPOINT|IFF_DRV_RUNNING|IFF_DRV_OACTIVE|\
- IFF_SIMPLEX|IFF_MULTICAST|IFF_ALLMULTI|IFF_SMART|IFF_PROMISC|\
- IFF_NEEDSGIANT)
+ IFF_SIMPLEX|IFF_MULTICAST|IFF_ALLMULTI|IFF_SMART|IFF_PROMISC)
/*
* Values for if_link_state.
OpenPOWER on IntegriCloud