Date: Mon, 28 Oct 2013 22:26:03 +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: r257284 - in head/sys: dev/ath dev/etherswitch dev/etherswitch/arswitch mips/atheros net80211 Message-ID: <201310282226.r9SMQ3AX064257@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Mon Oct 28 22:26:03 2013 New Revision: 257284 URL: http://svnweb.freebsd.org/changeset/base/257284 Log: - Provide necessary includes, that before came via if.h pollution. - Remove unnecessary ones. Sponsored by: Netflix Sponsored by: Nginx, Inc. Modified: head/sys/dev/ath/if_ath_ahb.c head/sys/dev/etherswitch/arswitch/arswitch.c head/sys/dev/etherswitch/arswitch/arswitch_phy.c head/sys/dev/etherswitch/arswitch/arswitch_vlans.c head/sys/dev/etherswitch/miiproxy.c head/sys/mips/atheros/if_arge.c head/sys/net80211/ieee80211_alq.c head/sys/net80211/ieee80211_superg.c Modified: head/sys/dev/ath/if_ath_ahb.c ============================================================================== --- head/sys/dev/ath/if_ath_ahb.c Mon Oct 28 22:13:50 2013 (r257283) +++ head/sys/dev/ath/if_ath_ahb.c Mon Oct 28 22:26:03 2013 (r257284) @@ -39,6 +39,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/systm.h> +#include <sys/malloc.h> #include <sys/module.h> #include <sys/kernel.h> #include <sys/lock.h> @@ -55,6 +56,7 @@ __FBSDID("$FreeBSD$"); #include <net/if.h> #include <net/if_media.h> #include <net/if_arp.h> +#include <net/ethernet.h> #include <net80211/ieee80211_var.h> Modified: head/sys/dev/etherswitch/arswitch/arswitch.c ============================================================================== --- head/sys/dev/etherswitch/arswitch/arswitch.c Mon Oct 28 22:13:50 2013 (r257283) +++ head/sys/dev/etherswitch/arswitch/arswitch.c Mon Oct 28 22:26:03 2013 (r257284) @@ -31,6 +31,7 @@ #include <sys/bus.h> #include <sys/errno.h> #include <sys/kernel.h> +#include <sys/malloc.h> #include <sys/module.h> #include <sys/socket.h> #include <sys/sockio.h> @@ -38,6 +39,7 @@ #include <sys/systm.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/etherswitch/arswitch/arswitch_phy.c ============================================================================== --- head/sys/dev/etherswitch/arswitch/arswitch_phy.c Mon Oct 28 22:13:50 2013 (r257283) +++ head/sys/dev/etherswitch/arswitch/arswitch_phy.c Mon Oct 28 22:26:03 2013 (r257284) @@ -31,18 +31,16 @@ #include <sys/bus.h> #include <sys/errno.h> #include <sys/kernel.h> +#include <sys/lock.h> #include <sys/module.h> +#include <sys/mutex.h> #include <sys/socket.h> #include <sys/sockio.h> #include <sys/sysctl.h> #include <sys/systm.h> #include <net/if.h> -#include <net/if_arp.h> -#include <net/ethernet.h> -#include <net/if_dl.h> #include <net/if_media.h> -#include <net/if_types.h> #include <machine/bus.h> #include <dev/iicbus/iic.h> Modified: head/sys/dev/etherswitch/arswitch/arswitch_vlans.c ============================================================================== --- head/sys/dev/etherswitch/arswitch/arswitch_vlans.c Mon Oct 28 22:13:50 2013 (r257283) +++ head/sys/dev/etherswitch/arswitch/arswitch_vlans.c Mon Oct 28 22:26:03 2013 (r257284) @@ -31,12 +31,13 @@ #include <sys/param.h> #include <sys/bus.h> #include <sys/errno.h> +#include <sys/lock.h> #include <sys/kernel.h> +#include <sys/mutex.h> #include <sys/systm.h> #include <sys/socket.h> #include <net/if.h> - #include <dev/mii/mii.h> #include <dev/etherswitch/etherswitch.h> Modified: head/sys/dev/etherswitch/miiproxy.c ============================================================================== --- head/sys/dev/etherswitch/miiproxy.c Mon Oct 28 22:13:50 2013 (r257283) +++ head/sys/dev/etherswitch/miiproxy.c Mon Oct 28 22:26:03 2013 (r257284) @@ -29,17 +29,14 @@ #include <sys/param.h> #include <sys/bus.h> #include <sys/kernel.h> +#include <sys/malloc.h> #include <sys/module.h> #include <sys/socket.h> #include <sys/sockio.h> #include <sys/systm.h> #include <net/if.h> -#include <net/if_arp.h> -#include <net/ethernet.h> -#include <net/if_dl.h> #include <net/if_media.h> -#include <net/if_types.h> #include <dev/etherswitch/miiproxy.h> #include <dev/mii/mii.h> Modified: head/sys/mips/atheros/if_arge.c ============================================================================== --- head/sys/mips/atheros/if_arge.c Mon Oct 28 22:13:50 2013 (r257283) +++ head/sys/mips/atheros/if_arge.c Mon Oct 28 22:26:03 2013 (r257284) @@ -41,8 +41,10 @@ __FBSDID("$FreeBSD$"); #include <sys/endian.h> #include <sys/systm.h> #include <sys/sockio.h> +#include <sys/lock.h> #include <sys/mbuf.h> #include <sys/malloc.h> +#include <sys/mutex.h> #include <sys/kernel.h> #include <sys/module.h> #include <sys/socket.h> @@ -50,10 +52,9 @@ __FBSDID("$FreeBSD$"); #include <sys/sysctl.h> #include <net/if.h> -#include <net/if_arp.h> -#include <net/ethernet.h> -#include <net/if_dl.h> +#include <net/if_var.h> #include <net/if_media.h> +#include <net/ethernet.h> #include <net/if_types.h> #include <net/bpf.h> Modified: head/sys/net80211/ieee80211_alq.c ============================================================================== --- head/sys/net80211/ieee80211_alq.c Mon Oct 28 22:13:50 2013 (r257283) +++ head/sys/net80211/ieee80211_alq.c Mon Oct 28 22:26:03 2013 (r257284) @@ -53,10 +53,8 @@ __FBSDID("$FreeBSD$"); #include <net/if.h> #include <net/if_var.h> -#include <net/if_dl.h> -#include <net/if_clone.h> #include <net/if_media.h> -#include <net/if_types.h> +#include <net/ethernet.h> #include <net80211/ieee80211_var.h> #include <net80211/ieee80211_freebsd.h> Modified: head/sys/net80211/ieee80211_superg.c ============================================================================== --- head/sys/net80211/ieee80211_superg.c Mon Oct 28 22:13:50 2013 (r257283) +++ head/sys/net80211/ieee80211_superg.c Mon Oct 28 22:26:03 2013 (r257284) @@ -38,11 +38,12 @@ __FBSDID("$FreeBSD$"); #include <sys/socket.h> -#include <net/bpf.h> -#include <net/ethernet.h> #include <net/if.h> +#include <net/if_var.h> #include <net/if_llc.h> #include <net/if_media.h> +#include <net/bpf.h> +#include <net/ethernet.h> #include <net80211/ieee80211_var.h> #include <net80211/ieee80211_input.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310282226.r9SMQ3AX064257>