Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2013 17:58:37 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257176 - in head/sys: compat/linprocfs compat/linux compat/ndis dev/ae dev/age dev/alc dev/ale dev/an dev/ath dev/ath/ath_dfs/null dev/ath/ath_rate/sample dev/bfe dev/bge dev/bm dev/bw...
Message-ID:  <201310261758.r9QHwbWX069118@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Sat Oct 26 17:58:36 2013
New Revision: 257176
URL: http://svnweb.freebsd.org/changeset/base/257176

Log:
  The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare
  to this event, adding if_var.h to files that do need it. Also, include
  all includes that now are included due to implicit pollution via if_var.h
  
  Sponsored by:	Netflix
  Sponsored by:	Nginx, Inc.

Modified:
  head/sys/compat/linprocfs/linprocfs.c
  head/sys/compat/linux/linux_ioctl.c
  head/sys/compat/ndis/kern_ndis.c
  head/sys/compat/ndis/subr_ndis.c
  head/sys/compat/ndis/subr_usbd.c
  head/sys/dev/ae/if_ae.c
  head/sys/dev/age/if_age.c
  head/sys/dev/alc/if_alc.c
  head/sys/dev/ale/if_ale.c
  head/sys/dev/an/if_an.c
  head/sys/dev/ath/ath_dfs/null/dfs_null.c
  head/sys/dev/ath/ath_rate/sample/sample.c
  head/sys/dev/ath/if_ath.c
  head/sys/dev/ath/if_ath_beacon.c
  head/sys/dev/ath/if_ath_btcoex.c
  head/sys/dev/ath/if_ath_keycache.c
  head/sys/dev/ath/if_ath_lna_div.c
  head/sys/dev/ath/if_ath_rx.c
  head/sys/dev/ath/if_ath_rx_edma.c
  head/sys/dev/ath/if_ath_spectral.c
  head/sys/dev/ath/if_ath_sysctl.c
  head/sys/dev/ath/if_ath_tdma.c
  head/sys/dev/ath/if_ath_tx.c
  head/sys/dev/ath/if_ath_tx_edma.c
  head/sys/dev/bfe/if_bfe.c
  head/sys/dev/bge/if_bge.c
  head/sys/dev/bm/if_bm.c
  head/sys/dev/bwi/bwimac.c
  head/sys/dev/bwi/bwiphy.c
  head/sys/dev/bwi/bwirf.c
  head/sys/dev/bwi/if_bwi.c
  head/sys/dev/bwi/if_bwi_pci.c
  head/sys/dev/bwn/if_bwn.c
  head/sys/dev/cadence/if_cgem.c
  head/sys/dev/cas/if_cas.c
  head/sys/dev/ce/if_ce.c
  head/sys/dev/cm/smc90cx6.c
  head/sys/dev/cp/if_cp.c
  head/sys/dev/cs/if_cs.c
  head/sys/dev/ctau/if_ct.c
  head/sys/dev/cx/if_cx.c
  head/sys/dev/cxgb/cxgb_adapter.h
  head/sys/dev/cxgb/cxgb_main.c
  head/sys/dev/cxgbe/adapter.h
  head/sys/dev/dc/dcphy.c
  head/sys/dev/dc/if_dc.c
  head/sys/dev/dc/pnphy.c
  head/sys/dev/de/if_de.c
  head/sys/dev/e1000/if_em.c
  head/sys/dev/e1000/if_igb.c
  head/sys/dev/e1000/if_lem.c
  head/sys/dev/ed/if_ed.c
  head/sys/dev/ed/if_ed_3c503.c
  head/sys/dev/ed/if_ed_hpp.c
  head/sys/dev/ed/if_ed_pccard.c
  head/sys/dev/ed/if_ed_rtl80x9.c
  head/sys/dev/en/if_en_pci.c
  head/sys/dev/en/midway.c
  head/sys/dev/ep/if_ep.c
  head/sys/dev/et/if_et.c
  head/sys/dev/ex/if_ex.c
  head/sys/dev/fatm/if_fatm.c
  head/sys/dev/fe/if_fe.c
  head/sys/dev/fe/if_fe_pccard.c
  head/sys/dev/firewire/if_fwe.c
  head/sys/dev/firewire/if_fwip.c
  head/sys/dev/fxp/if_fxp.c
  head/sys/dev/fxp/inphy.c
  head/sys/dev/gem/if_gem.c
  head/sys/dev/hatm/if_hatm.c
  head/sys/dev/hatm/if_hatm_intr.c
  head/sys/dev/hatm/if_hatm_ioctl.c
  head/sys/dev/hatm/if_hatm_rx.c
  head/sys/dev/hatm/if_hatm_tx.c
  head/sys/dev/hme/if_hme.c
  head/sys/dev/hme/if_hme_pci.c
  head/sys/dev/ie/if_ie.c
  head/sys/dev/if_ndis/if_ndis.c
  head/sys/dev/if_ndis/if_ndis_pccard.c
  head/sys/dev/if_ndis/if_ndis_pci.c
  head/sys/dev/if_ndis/if_ndis_usb.c
  head/sys/dev/iicbus/if_ic.c
  head/sys/dev/ipw/if_ipw.c
  head/sys/dev/iwi/if_iwi.c
  head/sys/dev/iwn/if_iwn.c
  head/sys/dev/ixgb/if_ixgb.h
  head/sys/dev/ixgbe/ixgbe.h
  head/sys/dev/ixgbe/ixv.h
  head/sys/dev/jme/if_jme.c
  head/sys/dev/le/lance.c
  head/sys/dev/lge/if_lge.c
  head/sys/dev/lmc/if_lmc.c
  head/sys/dev/malo/if_malo.c
  head/sys/dev/malo/if_malo_pci.c
  head/sys/dev/malo/if_malohal.c
  head/sys/dev/mge/if_mge.c
  head/sys/dev/mii/mii.c
  head/sys/dev/msk/if_msk.c
  head/sys/dev/mwl/if_mwl.c
  head/sys/dev/mwl/if_mwl_pci.c
  head/sys/dev/mxge/if_mxge.c
  head/sys/dev/my/if_my.c
  head/sys/dev/netmap/netmap.c
  head/sys/dev/nfe/if_nfe.c
  head/sys/dev/nge/if_nge.c
  head/sys/dev/nve/if_nve.c
  head/sys/dev/nxge/if_nxge.c
  head/sys/dev/oce/oce_if.h
  head/sys/dev/patm/if_patm.c
  head/sys/dev/patm/if_patm_attach.c
  head/sys/dev/patm/if_patm_intr.c
  head/sys/dev/patm/if_patm_ioctl.c
  head/sys/dev/patm/if_patm_rx.c
  head/sys/dev/patm/if_patm_tx.c
  head/sys/dev/pcn/if_pcn.c
  head/sys/dev/pdq/if_fpa.c
  head/sys/dev/pdq/pdq_freebsd.h
  head/sys/dev/pdq/pdq_ifsubr.c
  head/sys/dev/ppbus/if_plip.c
  head/sys/dev/ral/rt2560.c
  head/sys/dev/ral/rt2661.c
  head/sys/dev/ral/rt2860.c
  head/sys/dev/re/if_re.c
  head/sys/dev/rt/if_rt.c
  head/sys/dev/sbni/if_sbni.c
  head/sys/dev/sf/if_sf.c
  head/sys/dev/sfxge/sfxge.c
  head/sys/dev/sfxge/sfxge.h
  head/sys/dev/sge/if_sge.c
  head/sys/dev/sis/if_sis.c
  head/sys/dev/sk/if_sk.c
  head/sys/dev/smc/if_smc.c
  head/sys/dev/sn/if_sn.c
  head/sys/dev/ste/if_ste.c
  head/sys/dev/stge/if_stge.c
  head/sys/dev/ti/if_ti.c
  head/sys/dev/tl/if_tl.c
  head/sys/dev/tsec/if_tsec.c
  head/sys/dev/tx/if_tx.c
  head/sys/dev/txp/if_txp.c
  head/sys/dev/usb/net/if_aue.c
  head/sys/dev/usb/net/if_axe.c
  head/sys/dev/usb/net/if_cdce.c
  head/sys/dev/usb/net/if_cue.c
  head/sys/dev/usb/net/if_kue.c
  head/sys/dev/usb/net/if_mos.c
  head/sys/dev/usb/net/if_rue.c
  head/sys/dev/usb/net/if_udav.c
  head/sys/dev/usb/net/if_usie.c
  head/sys/dev/usb/net/uhso.c
  head/sys/dev/usb/net/usb_ethernet.c
  head/sys/dev/usb/usb_pf.c
  head/sys/dev/usb/wlan/if_rsu.c
  head/sys/dev/usb/wlan/if_rum.c
  head/sys/dev/usb/wlan/if_run.c
  head/sys/dev/usb/wlan/if_uath.c
  head/sys/dev/usb/wlan/if_upgt.c
  head/sys/dev/usb/wlan/if_ural.c
  head/sys/dev/usb/wlan/if_urtw.c
  head/sys/dev/usb/wlan/if_urtwn.c
  head/sys/dev/usb/wlan/if_zyd.c
  head/sys/dev/vge/if_vge.c
  head/sys/dev/virtio/network/if_vtnet.c
  head/sys/dev/vmware/vmxnet3/if_vmx.c
  head/sys/dev/vr/if_vr.c
  head/sys/dev/vte/if_vte.c
  head/sys/dev/vx/if_vx.c
  head/sys/dev/vx/if_vx_pci.c
  head/sys/dev/wb/if_wb.c
  head/sys/dev/wi/if_wi.c
  head/sys/dev/wi/if_wi_pccard.c
  head/sys/dev/wi/if_wi_pci.c
  head/sys/dev/wl/if_wl.c
  head/sys/dev/wpi/if_wpi.c
  head/sys/dev/xe/if_xe.c
  head/sys/dev/xl/if_xl.c
  head/sys/fs/nfs/nfsport.h
  head/sys/kern/kern_jail.c
  head/sys/kern/kern_poll.c
  head/sys/kern/sys_socket.c
  head/sys/net/bpf.c
  head/sys/net/bridgestp.c
  head/sys/net/ieee8023ad_lacp.c
  head/sys/net/if_arcsubr.c
  head/sys/net/if_atmsubr.c
  head/sys/net/if_clone.c
  head/sys/net/if_disc.c
  head/sys/net/if_edsc.c
  head/sys/net/if_ef.c
  head/sys/net/if_enc.c
  head/sys/net/if_epair.c
  head/sys/net/if_ethersubr.c
  head/sys/net/if_faith.c
  head/sys/net/if_fddisubr.c
  head/sys/net/if_fwsubr.c
  head/sys/net/if_gif.c
  head/sys/net/if_gre.c
  head/sys/net/if_iso88025subr.c
  head/sys/net/if_loop.c
  head/sys/net/if_mib.c
  head/sys/net/if_spppfr.c
  head/sys/net/if_spppsubr.c
  head/sys/net/if_stf.c
  head/sys/net/if_tap.c
  head/sys/net/if_tun.c
  head/sys/net/if_vlan.c
  head/sys/net/pfil.c
  head/sys/net/route.c
  head/sys/net/rtsock.c
  head/sys/net80211/ieee80211.c
  head/sys/net80211/ieee80211_action.c
  head/sys/net80211/ieee80211_adhoc.c
  head/sys/net80211/ieee80211_ageq.c
  head/sys/net80211/ieee80211_amrr.c
  head/sys/net80211/ieee80211_ddb.c
  head/sys/net80211/ieee80211_dfs.c
  head/sys/net80211/ieee80211_freebsd.c
  head/sys/net80211/ieee80211_hostap.c
  head/sys/net80211/ieee80211_ht.c
  head/sys/net80211/ieee80211_input.c
  head/sys/net80211/ieee80211_ioctl.c
  head/sys/net80211/ieee80211_mesh.c
  head/sys/net80211/ieee80211_monitor.c
  head/sys/net80211/ieee80211_node.c
  head/sys/net80211/ieee80211_output.c
  head/sys/net80211/ieee80211_power.c
  head/sys/net80211/ieee80211_proto.c
  head/sys/net80211/ieee80211_radiotap.c
  head/sys/net80211/ieee80211_regdomain.c
  head/sys/net80211/ieee80211_scan.c
  head/sys/net80211/ieee80211_scan_sta.c
  head/sys/net80211/ieee80211_wds.c
  head/sys/netatalk/aarp.c
  head/sys/netatalk/at_control.c
  head/sys/netatalk/ddp_input.c
  head/sys/netatalk/ddp_output.c
  head/sys/netatalk/ddp_pcb.c
  head/sys/netatalk/ddp_usrreq.c
  head/sys/netgraph/netflow/netflow.c
  head/sys/netgraph/ng_bridge.c
  head/sys/netgraph/ng_cisco.c
  head/sys/netgraph/ng_eiface.c
  head/sys/netgraph/ng_fec.c
  head/sys/netgraph/ng_iface.c
  head/sys/netgraph/ng_ipfw.c
  head/sys/netgraph/ng_sppp.c
  head/sys/netinet/if_atm.c
  head/sys/netinet/if_ether.c
  head/sys/netinet/igmp.c
  head/sys/netinet/in_gif.c
  head/sys/netinet/in_mcast.c
  head/sys/netinet/in_pcb.c
  head/sys/netinet/in_proto.c
  head/sys/netinet/in_rmx.c
  head/sys/netinet/ip_carp.c
  head/sys/netinet/ip_divert.c
  head/sys/netinet/ip_gre.c
  head/sys/netinet/ip_icmp.c
  head/sys/netinet/ip_ipsec.c
  head/sys/netinet/ip_mroute.c
  head/sys/netinet/ip_output.c
  head/sys/netinet/raw_ip.c
  head/sys/netinet/tcp_hostcache.c
  head/sys/netinet/tcp_input.c
  head/sys/netinet/tcp_offload.c
  head/sys/netinet/tcp_reass.c
  head/sys/netinet/tcp_sack.c
  head/sys/netinet/tcp_subr.c
  head/sys/netinet/tcp_syncache.c
  head/sys/netinet/tcp_timewait.c
  head/sys/netinet/tcp_usrreq.c
  head/sys/netinet/udp_usrreq.c
  head/sys/netinet6/dest6.c
  head/sys/netinet6/frag6.c
  head/sys/netinet6/icmp6.c
  head/sys/netinet6/in6_gif.c
  head/sys/netinet6/in6_ifattach.c
  head/sys/netinet6/in6_mcast.c
  head/sys/netinet6/in6_pcb.c
  head/sys/netinet6/in6_proto.c
  head/sys/netinet6/in6_rmx.c
  head/sys/netinet6/in6_src.c
  head/sys/netinet6/ip6_forward.c
  head/sys/netinet6/ip6_input.c
  head/sys/netinet6/ip6_ipsec.c
  head/sys/netinet6/ip6_mroute.c
  head/sys/netinet6/ip6_output.c
  head/sys/netinet6/mld6.c
  head/sys/netinet6/nd6.c
  head/sys/netinet6/nd6_rtr.c
  head/sys/netinet6/raw_ip6.c
  head/sys/netinet6/route6.c
  head/sys/netinet6/scope6.c
  head/sys/netinet6/udp6_usrreq.c
  head/sys/netipsec/ipsec.c
  head/sys/netipsec/ipsec_input.c
  head/sys/netipsec/ipsec_output.c
  head/sys/netipsec/key.c
  head/sys/netipsec/xform_ipip.c
  head/sys/netipx/ipx.c
  head/sys/netipx/ipx_input.c
  head/sys/netipx/ipx_outputfl.c
  head/sys/netipx/ipx_pcb.c
  head/sys/netipx/ipx_usrreq.c
  head/sys/netnatm/natm.c
  head/sys/netnatm/natm_pcb.c
  head/sys/netpfil/ipfw/ip_fw2.c
  head/sys/netpfil/ipfw/ip_fw_dynamic.c
  head/sys/netpfil/ipfw/ip_fw_log.c
  head/sys/netpfil/ipfw/ip_fw_nat.c
  head/sys/netpfil/pf/if_pflog.c
  head/sys/netpfil/pf/if_pfsync.c
  head/sys/netpfil/pf/pf.c
  head/sys/netpfil/pf/pf_if.c
  head/sys/netpfil/pf/pf_ioctl.c
  head/sys/netpfil/pf/pf_lb.c
  head/sys/netpfil/pf/pf_osfp.c
  head/sys/nfs/bootp_subr.c
  head/sys/nfsclient/nfs_vfsops.c
  head/sys/nfsclient/nfs_vnops.c
  head/sys/nfsserver/nfs_srvkrpc.c
  head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
  head/sys/ofed/drivers/infiniband/ulp/sdp/sdp.h
  head/sys/ofed/include/linux/list.h
  head/sys/pci/if_rl.c
  head/sys/security/mac_ifoff/mac_ifoff.c

Modified: head/sys/compat/linprocfs/linprocfs.c
==============================================================================
--- head/sys/compat/linprocfs/linprocfs.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/compat/linprocfs/linprocfs.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -77,6 +77,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/bus.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/vnet.h>
 
 #include <vm/vm.h>

Modified: head/sys/compat/linux/linux_ioctl.c
==============================================================================
--- head/sys/compat/linux/linux_ioctl.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/compat/linux/linux_ioctl.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -66,6 +66,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/resourcevar.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_types.h>
 #include <net/vnet.h>

Modified: head/sys/compat/ndis/kern_ndis.c
==============================================================================
--- head/sys/compat/ndis/kern_ndis.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/compat/ndis/kern_ndis.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/rman.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>

Modified: head/sys/compat/ndis/subr_ndis.c
==============================================================================
--- head/sys/compat/ndis/subr_ndis.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/compat/ndis/subr_ndis.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -76,6 +76,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/sysproto.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>

Modified: head/sys/compat/ndis/subr_usbd.c
==============================================================================
--- head/sys/compat/ndis/subr_usbd.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/compat/ndis/subr_usbd.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -54,6 +54,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/queue.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 #include <net80211/ieee80211_var.h>
 #include <net80211/ieee80211_ioctl.h>

Modified: head/sys/dev/ae/if_ae.c
==============================================================================
--- head/sys/dev/ae/if_ae.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ae/if_ae.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -35,8 +35,10 @@ __FBSDID("$FreeBSD$");
 #include <sys/bus.h>
 #include <sys/endian.h>
 #include <sys/kernel.h>
+#include <sys/lock.h>
 #include <sys/malloc.h>
 #include <sys/mbuf.h>
+#include <sys/mutex.h>
 #include <sys/rman.h>
 #include <sys/module.h>
 #include <sys/queue.h>
@@ -47,6 +49,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/bpf.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>

Modified: head/sys/dev/age/if_age.c
==============================================================================
--- head/sys/dev/age/if_age.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/age/if_age.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/bpf.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>

Modified: head/sys/dev/alc/if_alc.c
==============================================================================
--- head/sys/dev/alc/if_alc.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/alc/if_alc.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -49,6 +49,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/bpf.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>

Modified: head/sys/dev/ale/if_ale.c
==============================================================================
--- head/sys/dev/ale/if_ale.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ale/if_ale.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/bpf.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>

Modified: head/sys/dev/an/if_an.c
==============================================================================
--- head/sys/dev/an/if_an.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/an/if_an.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -111,6 +111,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/malloc.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/ethernet.h>

Modified: head/sys/dev/ath/ath_dfs/null/dfs_null.c
==============================================================================
--- head/sys/dev/ath/ath_dfs/null/dfs_null.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ath/ath_dfs/null/dfs_null.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/sysctl.h>
 #include <sys/kernel.h>
 #include <sys/lock.h>
+#include <sys/malloc.h>
 #include <sys/mutex.h>
 #include <sys/errno.h>
 
@@ -53,6 +54,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/socket.h>
  
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>		/* XXX for ether_sprintf */

Modified: head/sys/dev/ath/ath_rate/sample/sample.c
==============================================================================
--- head/sys/dev/ath/ath_rate/sample/sample.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ath/ath_rate/sample/sample.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/sysctl.h>
 #include <sys/kernel.h>
 #include <sys/lock.h>
+#include <sys/malloc.h>
 #include <sys/mutex.h>
 #include <sys/errno.h>
 
@@ -61,6 +62,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/socket.h>
  
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>		/* XXX for ether_sprintf */

Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ath/if_ath.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$");
 #include <machine/bus.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>
 #include <net/if_types.h>

Modified: head/sys/dev/ath/if_ath_beacon.c
==============================================================================
--- head/sys/dev/ath/if_ath_beacon.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ath/if_ath_beacon.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$");
 #include <machine/bus.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>
 #include <net/if_types.h>

Modified: head/sys/dev/ath/if_ath_btcoex.c
==============================================================================
--- head/sys/dev/ath/if_ath_btcoex.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ath/if_ath_btcoex.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/sysctl.h>
 #include <sys/kernel.h>
 #include <sys/lock.h>
+#include <sys/malloc.h>
 #include <sys/mutex.h>
 #include <sys/errno.h>
 
@@ -54,6 +55,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/socket.h>
  
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>		/* XXX for ether_sprintf */

Modified: head/sys/dev/ath/if_ath_keycache.c
==============================================================================
--- head/sys/dev/ath/if_ath_keycache.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ath/if_ath_keycache.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -62,6 +62,7 @@ __FBSDID("$FreeBSD$");
 #include <machine/bus.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>
 #include <net/if_types.h>

Modified: head/sys/dev/ath/if_ath_lna_div.c
==============================================================================
--- head/sys/dev/ath/if_ath_lna_div.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ath/if_ath_lna_div.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/sysctl.h>
 #include <sys/kernel.h>
 #include <sys/lock.h>
+#include <sys/malloc.h>
 #include <sys/mutex.h>
 #include <sys/errno.h>
 
@@ -54,6 +55,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/socket.h>
  
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>		/* XXX for ether_sprintf */

Modified: head/sys/dev/ath/if_ath_rx.c
==============================================================================
--- head/sys/dev/ath/if_ath_rx.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ath/if_ath_rx.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$");
 #include <machine/bus.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>
 #include <net/if_types.h>

Modified: head/sys/dev/ath/if_ath_rx_edma.c
==============================================================================
--- head/sys/dev/ath/if_ath_rx_edma.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ath/if_ath_rx_edma.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$");
 #include <machine/bus.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>
 #include <net/if_types.h>

Modified: head/sys/dev/ath/if_ath_spectral.c
==============================================================================
--- head/sys/dev/ath/if_ath_spectral.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ath/if_ath_spectral.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/sysctl.h>
 #include <sys/kernel.h>
 #include <sys/lock.h>
+#include <sys/malloc.h>
 #include <sys/mutex.h>
 #include <sys/errno.h>
 
@@ -53,6 +54,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/socket.h>
  
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>		/* XXX for ether_sprintf */

Modified: head/sys/dev/ath/if_ath_sysctl.c
==============================================================================
--- head/sys/dev/ath/if_ath_sysctl.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ath/if_ath_sysctl.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -62,6 +62,7 @@ __FBSDID("$FreeBSD$");
 #include <machine/bus.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>
 #include <net/if_types.h>

Modified: head/sys/dev/ath/if_ath_tdma.c
==============================================================================
--- head/sys/dev/ath/if_ath_tdma.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ath/if_ath_tdma.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$");
 #include <machine/bus.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>
 #include <net/if_types.h>

Modified: head/sys/dev/ath/if_ath_tx.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ath/if_ath_tx.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -63,6 +63,7 @@ __FBSDID("$FreeBSD$");
 #include <machine/bus.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>
 #include <net/if_types.h>

Modified: head/sys/dev/ath/if_ath_tx_edma.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx_edma.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ath/if_ath_tx_edma.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$");
 #include <machine/bus.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>
 #include <net/if_types.h>

Modified: head/sys/dev/bfe/if_bfe.c
==============================================================================
--- head/sys/dev/bfe/if_bfe.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/bfe/if_bfe.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/bpf.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>

Modified: head/sys/dev/bge/if_bge.c
==============================================================================
--- head/sys/dev/bge/if_bge.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/bge/if_bge.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -83,6 +83,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/taskqueue.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>

Modified: head/sys/dev/bm/if_bm.c
==============================================================================
--- head/sys/dev/bm/if_bm.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/bm/if_bm.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/bpf.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>

Modified: head/sys/dev/bwi/bwimac.c
==============================================================================
--- head/sys/dev/bwi/bwimac.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/bwi/bwimac.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/firmware.h>
  
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>
 #include <net/if_types.h>

Modified: head/sys/dev/bwi/bwiphy.c
==============================================================================
--- head/sys/dev/bwi/bwiphy.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/bwi/bwiphy.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/systm.h>
  
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>
 #include <net/if_types.h>

Modified: head/sys/dev/bwi/bwirf.c
==============================================================================
--- head/sys/dev/bwi/bwirf.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/bwi/bwirf.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -54,6 +54,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/systm.h>
  
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>
 #include <net/if_types.h>

Modified: head/sys/dev/bwi/if_bwi.c
==============================================================================
--- head/sys/dev/bwi/if_bwi.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/bwi/if_bwi.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/taskqueue.h>
  
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>
 #include <net/if_types.h>

Modified: head/sys/dev/bwi/if_bwi_pci.c
==============================================================================
--- head/sys/dev/bwi/if_bwi_pci.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/bwi/if_bwi_pci.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -41,6 +41,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/module.h>
 #include <sys/kernel.h>
 #include <sys/lock.h>
+#include <sys/malloc.h>
 #include <sys/mutex.h>
 #include <sys/errno.h>
 
@@ -52,6 +53,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/socket.h>
  
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 #include <net/if_arp.h>
 

Modified: head/sys/dev/bwn/if_bwn.c
==============================================================================
--- head/sys/dev/bwn/if_bwn.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/bwn/if_bwn.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/if_llc.h>

Modified: head/sys/dev/cadence/if_cgem.c
==============================================================================
--- head/sys/dev/cadence/if_cgem.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/cadence/if_cgem.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>

Modified: head/sys/dev/cas/if_cas.c
==============================================================================
--- head/sys/dev/cas/if_cas.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/cas/if_cas.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -62,6 +62,7 @@ __FBSDID("$FreeBSD$");
 #include <net/bpf.h>
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>

Modified: head/sys/dev/ce/if_ce.c
==============================================================================
--- head/sys/dev/ce/if_ce.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ce/if_ce.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$");
 #include <vm/vm.h>
 #include <vm/pmap.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #if __FreeBSD_version > 501000
 #   include <dev/pci/pcivar.h>
 #   include <dev/pci/pcireg.h>

Modified: head/sys/dev/cm/smc90cx6.c
==============================================================================
--- head/sys/dev/cm/smc90cx6.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/cm/smc90cx6.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -56,6 +56,7 @@ __FBSDID("$FreeBSD$");
 #include <machine/resource.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_types.h>
 #include <net/if_arc.h>

Modified: head/sys/dev/cp/if_cp.c
==============================================================================
--- head/sys/dev/cp/if_cp.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/cp/if_cp.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
 #include <vm/vm.h>
 #include <vm/pmap.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <dev/pci/pcivar.h>
 #include <dev/pci/pcireg.h>
 #include <machine/bus.h>

Modified: head/sys/dev/cs/if_cs.c
==============================================================================
--- head/sys/dev/cs/if_cs.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/cs/if_cs.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -56,6 +56,7 @@ __FBSDID("$FreeBSD$");
 #include <machine/resource.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>

Modified: head/sys/dev/ctau/if_ct.c
==============================================================================
--- head/sys/dev/ctau/if_ct.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ctau/if_ct.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
 #include <vm/vm.h>
 #include <vm/pmap.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <machine/cpufunc.h>
 #include <machine/cserial.h>
 #include <machine/resource.h>

Modified: head/sys/dev/cx/if_cx.c
==============================================================================
--- head/sys/dev/cx/if_cx.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/cx/if_cx.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$");
 #include <vm/vm.h>
 #include <vm/pmap.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <machine/cpufunc.h>
 #include <machine/cserial.h>
 #include <machine/resource.h>

Modified: head/sys/dev/cxgb/cxgb_adapter.h
==============================================================================
--- head/sys/dev/cxgb/cxgb_adapter.h	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/cxgb/cxgb_adapter.h	Sat Oct 26 17:58:36 2013	(r257176)
@@ -41,9 +41,11 @@ $FreeBSD$
 #include <sys/sockio.h>
 #include <sys/condvar.h>
 #include <sys/buf_ring.h>
+#include <sys/taskqueue.h>
 
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 #include <net/if_dl.h>
 #include <netinet/in.h>

Modified: head/sys/dev/cxgb/cxgb_main.c
==============================================================================
--- head/sys/dev/cxgb/cxgb_main.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/cxgb/cxgb_main.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -60,6 +60,7 @@ __FBSDID("$FreeBSD$");
 #include <net/bpf.h>
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>

Modified: head/sys/dev/cxgbe/adapter.h
==============================================================================
--- head/sys/dev/cxgbe/adapter.h	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/cxgbe/adapter.h	Sat Oct 26 17:58:36 2013	(r257176)
@@ -35,7 +35,12 @@
 #include <sys/bus.h>
 #include <sys/rman.h>
 #include <sys/types.h>
+#include <sys/lock.h>
 #include <sys/malloc.h>
+#include <sys/rwlock.h>
+#include <sys/sx.h>
+#include <vm/uma.h>
+
 #include <dev/pci/pcivar.h>
 #include <dev/pci/pcireg.h>
 #include <machine/bus.h>
@@ -43,6 +48,7 @@
 #include <sys/sysctl.h>
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 #include <netinet/in.h>
 #include <netinet/tcp_lro.h>

Modified: head/sys/dev/dc/dcphy.c
==============================================================================
--- head/sys/dev/dc/dcphy.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/dc/dcphy.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/bus.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_media.h>
 

Modified: head/sys/dev/dc/if_dc.c
==============================================================================
--- head/sys/dev/dc/if_dc.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/dc/if_dc.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -107,6 +107,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/socket.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>

Modified: head/sys/dev/dc/pnphy.c
==============================================================================
--- head/sys/dev/dc/pnphy.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/dc/pnphy.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/bus.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_media.h>
 

Modified: head/sys/dev/de/if_de.c
==============================================================================
--- head/sys/dev/de/if_de.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/de/if_de.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -60,6 +60,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/rman.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_media.h>

Modified: head/sys/dev/e1000/if_em.c
==============================================================================
--- head/sys/dev/e1000/if_em.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/e1000/if_em.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -63,6 +63,7 @@
 #include <net/bpf.h>
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>

Modified: head/sys/dev/e1000/if_igb.c
==============================================================================
--- head/sys/dev/e1000/if_igb.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/e1000/if_igb.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -68,6 +68,7 @@
 #include <net/bpf.h>
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>

Modified: head/sys/dev/e1000/if_lem.c
==============================================================================
--- head/sys/dev/e1000/if_lem.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/e1000/if_lem.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -60,6 +60,7 @@
 #include <net/bpf.h>
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>

Modified: head/sys/dev/ed/if_ed.c
==============================================================================
--- head/sys/dev/ed/if_ed.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ed/if_ed.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/if_mib.h>

Modified: head/sys/dev/ed/if_ed_3c503.c
==============================================================================
--- head/sys/dev/ed/if_ed_3c503.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ed/if_ed_3c503.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>		/* XXX: ed_3c503_mediachg() */
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/if_mib.h>

Modified: head/sys/dev/ed/if_ed_hpp.c
==============================================================================
--- head/sys/dev/ed/if_ed_hpp.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ed/if_ed_hpp.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>		/* XXX: ed_hpp_set_physical_link() */
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/if_mib.h>

Modified: head/sys/dev/ed/if_ed_pccard.c
==============================================================================
--- head/sys/dev/ed/if_ed_pccard.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ed/if_ed_pccard.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -86,6 +86,7 @@
 
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_mib.h>
 #include <net/if_media.h>

Modified: head/sys/dev/ed/if_ed_rtl80x9.c
==============================================================================
--- head/sys/dev/ed/if_ed_rtl80x9.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ed/if_ed_rtl80x9.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/if_mib.h>

Modified: head/sys/dev/en/if_en_pci.c
==============================================================================
--- head/sys/dev/en/if_en_pci.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/en/if_en_pci.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -60,6 +60,7 @@ __FBSDID("$FreeBSD$");
 #include <vm/uma.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_atm.h>
 #include <net/if_media.h>
 #include <net/if_types.h>

Modified: head/sys/dev/en/midway.c
==============================================================================
--- head/sys/dev/en/midway.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/en/midway.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -138,6 +138,7 @@ enum {
 #include <vm/uma.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 #include <net/if_atm.h>
 

Modified: head/sys/dev/ep/if_ep.c
==============================================================================
--- head/sys/dev/ep/if_ep.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ep/if_ep.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/rman.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>
 #include <net/if_types.h>

Modified: head/sys/dev/et/if_et.c
==============================================================================
--- head/sys/dev/et/if_et.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/et/if_et.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -53,6 +53,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_types.h>
 #include <net/bpf.h>

Modified: head/sys/dev/ex/if_ex.c
==============================================================================
--- head/sys/dev/ex/if_ex.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ex/if_ex.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -56,6 +56,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/rman.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/if_media.h> 

Modified: head/sys/dev/fatm/if_fatm.c
==============================================================================
--- head/sys/dev/fatm/if_fatm.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/fatm/if_fatm.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -56,6 +56,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/socket.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 #include <net/if_types.h>
 #include <net/if_atm.h>

Modified: head/sys/dev/fe/if_fe.c
==============================================================================
--- head/sys/dev/fe/if_fe.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/fe/if_fe.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -83,6 +83,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_dl.h>
 #include <net/if_mib.h>
 #include <net/if_media.h>

Modified: head/sys/dev/fe/if_fe_pccard.c
==============================================================================
--- head/sys/dev/fe/if_fe_pccard.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/fe/if_fe_pccard.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -28,7 +28,9 @@ __FBSDID("$FreeBSD$");
 #include <sys/kernel.h>
 #include <sys/socket.h>
 #include <sys/systm.h>
+#include <sys/lock.h>
 #include <sys/module.h>
+#include <sys/mutex.h>
 
 #include <sys/bus.h>
 #include <machine/bus.h>
@@ -36,6 +38,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_mib.h>
 #include <net/if_media.h>
 

Modified: head/sys/dev/firewire/if_fwe.c
==============================================================================
--- head/sys/dev/firewire/if_fwe.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/firewire/if_fwe.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -54,6 +54,7 @@
 #include <net/bpf.h>
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_types.h>
 #ifdef __DragonFly__

Modified: head/sys/dev/firewire/if_fwip.c
==============================================================================
--- head/sys/dev/firewire/if_fwip.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/firewire/if_fwip.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -56,6 +56,7 @@
 
 #include <net/bpf.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/firewire.h>
 #include <net/if_arp.h>
 #include <net/if_types.h>

Modified: head/sys/dev/fxp/if_fxp.c
==============================================================================
--- head/sys/dev/fxp/if_fxp.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/fxp/if_fxp.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$");
 #include <net/bpf.h>
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>

Modified: head/sys/dev/fxp/inphy.c
==============================================================================
--- head/sys/dev/fxp/inphy.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/fxp/inphy.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/bus.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 
 #include <dev/mii/mii.h>

Modified: head/sys/dev/gem/if_gem.c
==============================================================================
--- head/sys/dev/gem/if_gem.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/gem/if_gem.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -61,6 +61,7 @@ __FBSDID("$FreeBSD$");
 #include <net/bpf.h>
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>

Modified: head/sys/dev/hatm/if_hatm.c
==============================================================================
--- head/sys/dev/hatm/if_hatm.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/hatm/if_hatm.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -60,6 +60,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/socket.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 #include <net/if_atm.h>
 #include <net/if_types.h>

Modified: head/sys/dev/hatm/if_hatm_intr.c
==============================================================================
--- head/sys/dev/hatm/if_hatm_intr.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/hatm/if_hatm_intr.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -58,6 +58,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/socket.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 #include <net/if_atm.h>
 #include <net/route.h>

Modified: head/sys/dev/hatm/if_hatm_ioctl.c
==============================================================================
--- head/sys/dev/hatm/if_hatm_ioctl.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/hatm/if_hatm_ioctl.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/socket.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 #include <net/if_atm.h>
 #include <net/route.h>

Modified: head/sys/dev/hatm/if_hatm_rx.c
==============================================================================
--- head/sys/dev/hatm/if_hatm_rx.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/hatm/if_hatm_rx.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -56,6 +56,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/socket.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 #include <net/if_atm.h>
 #include <net/route.h>

Modified: head/sys/dev/hatm/if_hatm_tx.c
==============================================================================
--- head/sys/dev/hatm/if_hatm_tx.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/hatm/if_hatm_tx.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/socket.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_media.h>
 #include <net/if_atm.h>
 #include <net/route.h>

Modified: head/sys/dev/hme/if_hme.c
==============================================================================
--- head/sys/dev/hme/if_hme.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/hme/if_hme.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -81,6 +81,7 @@ __FBSDID("$FreeBSD$");
 #include <net/bpf.h>
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_dl.h>
 #include <net/if_media.h>

Modified: head/sys/dev/hme/if_hme_pci.c
==============================================================================
--- head/sys/dev/hme/if_hme_pci.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/hme/if_hme_pci.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -40,7 +40,10 @@ __FBSDID("$FreeBSD$");
 #include <sys/systm.h>
 #include <sys/bus.h>
 #include <sys/kernel.h>
+#include <sys/lock.h>
+#include <sys/malloc.h>
 #include <sys/module.h>
+#include <sys/mutex.h>
 #include <sys/resource.h>
 #include <sys/socket.h>
 

Modified: head/sys/dev/ie/if_ie.c
==============================================================================
--- head/sys/dev/ie/if_ie.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ie/if_ie.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -130,6 +130,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/ethernet.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_types.h>
 #include <net/if_dl.h>
 

Modified: head/sys/dev/if_ndis/if_ndis.c
==============================================================================
--- head/sys/dev/if_ndis/if_ndis.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/if_ndis/if_ndis.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -52,6 +52,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/kthread.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>

Modified: head/sys/dev/if_ndis/if_ndis_pccard.c
==============================================================================
--- head/sys/dev/if_ndis/if_ndis_pccard.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/if_ndis/if_ndis_pccard.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/sysctl.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_media.h>
 

Modified: head/sys/dev/if_ndis/if_ndis_pci.c
==============================================================================
--- head/sys/dev/if_ndis/if_ndis_pci.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/if_ndis/if_ndis_pci.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -36,12 +36,14 @@ __FBSDID("$FreeBSD$");
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/kernel.h>
+#include <sys/malloc.h>
 #include <sys/module.h>
 #include <sys/socket.h>
 #include <sys/queue.h>
 #include <sys/sysctl.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/if_media.h>
 

Modified: head/sys/dev/if_ndis/if_ndis_usb.c
==============================================================================
--- head/sys/dev/if_ndis/if_ndis_usb.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/if_ndis/if_ndis_usb.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/sysctl.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>

Modified: head/sys/dev/iicbus/if_ic.c
==============================================================================
--- head/sys/dev/iicbus/if_ic.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/iicbus/if_ic.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/malloc.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_types.h>
 #include <net/netisr.h>
 

Modified: head/sys/dev/ipw/if_ipw.c
==============================================================================
--- head/sys/dev/ipw/if_ipw.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ipw/if_ipw.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -62,6 +62,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/bpf.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>

Modified: head/sys/dev/iwi/if_iwi.c
==============================================================================
--- head/sys/dev/iwi/if_iwi.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/iwi/if_iwi.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -64,6 +64,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/bpf.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>

Modified: head/sys/dev/iwn/if_iwn.c
==============================================================================
--- head/sys/dev/iwn/if_iwn.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/iwn/if_iwn.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/bpf.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>

Modified: head/sys/dev/ixgb/if_ixgb.h
==============================================================================
--- head/sys/dev/ixgb/if_ixgb.h	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ixgb/if_ixgb.h	Sat Oct 26 17:58:36 2013	(r257176)
@@ -47,6 +47,7 @@ POSSIBILITY OF SUCH DAMAGE.
 #include <sys/sockio.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>

Modified: head/sys/dev/ixgbe/ixgbe.h
==============================================================================
--- head/sys/dev/ixgbe/ixgbe.h	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ixgbe/ixgbe.h	Sat Oct 26 17:58:36 2013	(r257176)
@@ -49,8 +49,10 @@
 #include <sys/kernel.h>
 #include <sys/module.h>
 #include <sys/sockio.h>
+#include <sys/eventhandler.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/bpf.h>
 #include <net/ethernet.h>

Modified: head/sys/dev/ixgbe/ixv.h
==============================================================================
--- head/sys/dev/ixgbe/ixv.h	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/ixgbe/ixv.h	Sat Oct 26 17:58:36 2013	(r257176)
@@ -44,10 +44,14 @@
 #include <sys/socket.h>
 #include <sys/malloc.h>
 #include <sys/kernel.h>
+#include <sys/lock.h>
 #include <sys/module.h>
+#include <sys/mutex.h>
 #include <sys/sockio.h>
+#include <sys/eventhandler.h>
 
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/bpf.h>
 #include <net/ethernet.h>

Modified: head/sys/dev/jme/if_jme.c
==============================================================================
--- head/sys/dev/jme/if_jme.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/jme/if_jme.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
 
 #include <net/bpf.h>
 #include <net/if.h>
+#include <net/if_var.h>
 #include <net/if_arp.h>
 #include <net/ethernet.h>
 #include <net/if_dl.h>

Modified: head/sys/dev/le/lance.c
==============================================================================
--- head/sys/dev/le/lance.c	Sat Oct 26 17:54:31 2013	(r257175)
+++ head/sys/dev/le/lance.c	Sat Oct 26 17:58:36 2013	(r257176)
@@ -86,6 +86,7 @@ __FBSDID("$FreeBSD$");
 

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310261758.r9QHwbWX069118>