summaryrefslogtreecommitdiffstats
path: root/sys/dev/etherswitch
diff options
context:
space:
mode:
authorbrueffer <brueffer@FreeBSD.org>2014-03-06 13:15:53 +0000
committerbrueffer <brueffer@FreeBSD.org>2014-03-06 13:15:53 +0000
commit1d275c07c24a6ac00d3d1401553e8ccf196a4ad7 (patch)
tree1034a7d04de590e2fc28b2ae938c62a604301a89 /sys/dev/etherswitch
parent2e120a0184c35b953e3eec0bbe2d04d201b4e238 (diff)
downloadFreeBSD-src-1d275c07c24a6ac00d3d1401553e8ccf196a4ad7.zip
FreeBSD-src-1d275c07c24a6ac00d3d1401553e8ccf196a4ad7.tar.gz
MFC: r262571
Add missing includes and remove two unused ones. Reviewed by: loos
Diffstat (limited to 'sys/dev/etherswitch')
-rw-r--r--sys/dev/etherswitch/ip17x/ip17x.c7
-rw-r--r--sys/dev/etherswitch/ip17x/ip17x_phy.c2
-rw-r--r--sys/dev/etherswitch/ip17x/ip17x_vlans.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/sys/dev/etherswitch/ip17x/ip17x.c b/sys/dev/etherswitch/ip17x/ip17x.c
index 5ac0554..cfe8323 100644
--- a/sys/dev/etherswitch/ip17x/ip17x.c
+++ b/sys/dev/etherswitch/ip17x/ip17x.c
@@ -32,18 +32,21 @@
#include <sys/bus.h>
#include <sys/errno.h>
#include <sys/kernel.h>
+#include <sys/lock.h>
+#include <sys/malloc.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 <sys/types.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 <net/if_var.h>
#include <machine/bus.h>
#include <dev/mii/mii.h>
diff --git a/sys/dev/etherswitch/ip17x/ip17x_phy.c b/sys/dev/etherswitch/ip17x/ip17x_phy.c
index 067b8ba..d110b26 100644
--- a/sys/dev/etherswitch/ip17x/ip17x_phy.c
+++ b/sys/dev/etherswitch/ip17x/ip17x_phy.c
@@ -32,6 +32,8 @@
#include <sys/bus.h>
#include <sys/errno.h>
#include <sys/kernel.h>
+#include <sys/lock.h>
+#include <sys/mutex.h>
#include <sys/systm.h>
#include <sys/socket.h>
diff --git a/sys/dev/etherswitch/ip17x/ip17x_vlans.c b/sys/dev/etherswitch/ip17x/ip17x_vlans.c
index 7c2c66d..6746344 100644
--- a/sys/dev/etherswitch/ip17x/ip17x_vlans.c
+++ b/sys/dev/etherswitch/ip17x/ip17x_vlans.c
@@ -32,6 +32,8 @@
#include <sys/bus.h>
#include <sys/errno.h>
#include <sys/kernel.h>
+#include <sys/lock.h>
+#include <sys/mutex.h>
#include <sys/systm.h>
#include <sys/socket.h>
OpenPOWER on IntegriCloud