Remove IFF_NEEDSGIANT interface flag: we no longer provide ifnet-layer

infrastructure to support non-MPSAFE network device drivers.
This commit is contained in:
Robert Watson 2009-04-18 20:39:17 +00:00
parent 31b2ac28c9
commit 04ac2960c4

View File

@ -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.