svn commit: r262571 - head/sys/dev/etherswitch/ip17x

Christian Brueffer brueffer at FreeBSD.org
Thu Feb 27 21:01:11 UTC 2014


Author: brueffer
Date: Thu Feb 27 21:01:10 2014
New Revision: 262571
URL: http://svnweb.freebsd.org/changeset/base/262571

Log:
  Add missing includes and remove two unused ones.
  
  Reviewed by:	loos
  MFC after:	1 week

Modified:
  head/sys/dev/etherswitch/ip17x/ip17x.c
  head/sys/dev/etherswitch/ip17x/ip17x_phy.c
  head/sys/dev/etherswitch/ip17x/ip17x_vlans.c

Modified: head/sys/dev/etherswitch/ip17x/ip17x.c
==============================================================================
--- head/sys/dev/etherswitch/ip17x/ip17x.c	Thu Feb 27 20:00:26 2014	(r262570)
+++ head/sys/dev/etherswitch/ip17x/ip17x.c	Thu Feb 27 21:01:10 2014	(r262571)
@@ -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>

Modified: head/sys/dev/etherswitch/ip17x/ip17x_phy.c
==============================================================================
--- head/sys/dev/etherswitch/ip17x/ip17x_phy.c	Thu Feb 27 20:00:26 2014	(r262570)
+++ head/sys/dev/etherswitch/ip17x/ip17x_phy.c	Thu Feb 27 21:01:10 2014	(r262571)
@@ -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>
 

Modified: head/sys/dev/etherswitch/ip17x/ip17x_vlans.c
==============================================================================
--- head/sys/dev/etherswitch/ip17x/ip17x_vlans.c	Thu Feb 27 20:00:26 2014	(r262570)
+++ head/sys/dev/etherswitch/ip17x/ip17x_vlans.c	Thu Feb 27 21:01:10 2014	(r262571)
@@ -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>
 


More information about the svn-src-all mailing list