Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2014 21:01:10 +0000 (UTC)
From:      Christian Brueffer <brueffer@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262571 - head/sys/dev/etherswitch/ip17x
Message-ID:  <201402272101.s1RL1AXR073515@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>
 



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