svn commit: r262848 - stable/10/sys/dev/etherswitch/ip17x

Christian Brueffer brueffer at FreeBSD.org
Thu Mar 6 13:15:54 UTC 2014


Author: brueffer
Date: Thu Mar  6 13:15:53 2014
New Revision: 262848
URL: http://svnweb.freebsd.org/changeset/base/262848

Log:
  MFC: r262571
  
  Add missing includes and remove two unused ones.
  
  Reviewed by:	loos

Modified:
  stable/10/sys/dev/etherswitch/ip17x/ip17x.c
  stable/10/sys/dev/etherswitch/ip17x/ip17x_phy.c
  stable/10/sys/dev/etherswitch/ip17x/ip17x_vlans.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/etherswitch/ip17x/ip17x.c
==============================================================================
--- stable/10/sys/dev/etherswitch/ip17x/ip17x.c	Thu Mar  6 12:37:25 2014	(r262847)
+++ stable/10/sys/dev/etherswitch/ip17x/ip17x.c	Thu Mar  6 13:15:53 2014	(r262848)
@@ -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: stable/10/sys/dev/etherswitch/ip17x/ip17x_phy.c
==============================================================================
--- stable/10/sys/dev/etherswitch/ip17x/ip17x_phy.c	Thu Mar  6 12:37:25 2014	(r262847)
+++ stable/10/sys/dev/etherswitch/ip17x/ip17x_phy.c	Thu Mar  6 13:15:53 2014	(r262848)
@@ -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: stable/10/sys/dev/etherswitch/ip17x/ip17x_vlans.c
==============================================================================
--- stable/10/sys/dev/etherswitch/ip17x/ip17x_vlans.c	Thu Mar  6 12:37:25 2014	(r262847)
+++ stable/10/sys/dev/etherswitch/ip17x/ip17x_vlans.c	Thu Mar  6 13:15:53 2014	(r262848)
@@ -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