summaryrefslogtreecommitdiffstats
path: root/sys/mips/cavium
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-10-29 11:17:49 +0000
committerglebius <glebius@FreeBSD.org>2013-10-29 11:17:49 +0000
commit9e01f79e97aeb6a46f651b569eb28cdf46db7199 (patch)
tree1942a1f56884dcd5e5352b3d52d445148a0d6a8b /sys/mips/cavium
parentaff7767afff2747d8e6afd91d9d4355309584ee6 (diff)
downloadFreeBSD-src-9e01f79e97aeb6a46f651b569eb28cdf46db7199.zip
FreeBSD-src-9e01f79e97aeb6a46f651b569eb28cdf46db7199.tar.gz
- Provide necessary includes.
- Remove unnecessary includes. Sponsored by: Netflix Sponsored by: Nginx, Inc.
Diffstat (limited to 'sys/mips/cavium')
-rw-r--r--sys/mips/cavium/octe/ethernet-common.c1
-rw-r--r--sys/mips/cavium/octe/ethernet-mdio.c1
-rw-r--r--sys/mips/cavium/octe/ethernet-mem.c1
-rw-r--r--sys/mips/cavium/octe/ethernet-rgmii.c1
-rw-r--r--sys/mips/cavium/octe/ethernet-rx.c1
-rw-r--r--sys/mips/cavium/octe/ethernet-sgmii.c1
-rw-r--r--sys/mips/cavium/octe/ethernet-spi.c1
-rw-r--r--sys/mips/cavium/octe/ethernet-tx.c1
-rw-r--r--sys/mips/cavium/octe/ethernet-xaui.c1
-rw-r--r--sys/mips/cavium/octe/ethernet.c1
10 files changed, 10 insertions, 0 deletions
diff --git a/sys/mips/cavium/octe/ethernet-common.c b/sys/mips/cavium/octe/ethernet-common.c
index 5349427..f18eabd 100644
--- a/sys/mips/cavium/octe/ethernet-common.c
+++ b/sys/mips/cavium/octe/ethernet-common.c
@@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$");
#include <net/ethernet.h>
#include <net/if.h>
+#include <net/if_var.h>
#include "wrapper-cvmx-includes.h"
#include "ethernet-headers.h"
diff --git a/sys/mips/cavium/octe/ethernet-mdio.c b/sys/mips/cavium/octe/ethernet-mdio.c
index a5f3bad..d95669a 100644
--- a/sys/mips/cavium/octe/ethernet-mdio.c
+++ b/sys/mips/cavium/octe/ethernet-mdio.c
@@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
#include <net/ethernet.h>
#include <net/if.h>
+#include <net/if_var.h>
#include "wrapper-cvmx-includes.h"
#include "ethernet-headers.h"
diff --git a/sys/mips/cavium/octe/ethernet-mem.c b/sys/mips/cavium/octe/ethernet-mem.c
index d101d7c..70c4986 100644
--- a/sys/mips/cavium/octe/ethernet-mem.c
+++ b/sys/mips/cavium/octe/ethernet-mem.c
@@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$");
#include <net/ethernet.h>
#include <net/if.h>
+#include <net/if_var.h>
#include "wrapper-cvmx-includes.h"
#include "ethernet-headers.h"
diff --git a/sys/mips/cavium/octe/ethernet-rgmii.c b/sys/mips/cavium/octe/ethernet-rgmii.c
index 9addb12..e8df9ba 100644
--- a/sys/mips/cavium/octe/ethernet-rgmii.c
+++ b/sys/mips/cavium/octe/ethernet-rgmii.c
@@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
#include <net/ethernet.h>
#include <net/if.h>
+#include <net/if_var.h>
#include "wrapper-cvmx-includes.h"
#include "ethernet-headers.h"
diff --git a/sys/mips/cavium/octe/ethernet-rx.c b/sys/mips/cavium/octe/ethernet-rx.c
index 910d6bd..79470be 100644
--- a/sys/mips/cavium/octe/ethernet-rx.c
+++ b/sys/mips/cavium/octe/ethernet-rx.c
@@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
#include <net/ethernet.h>
#include <net/if.h>
+#include <net/if_var.h>
#include "wrapper-cvmx-includes.h"
#include "ethernet-headers.h"
diff --git a/sys/mips/cavium/octe/ethernet-sgmii.c b/sys/mips/cavium/octe/ethernet-sgmii.c
index 4241cab..76fe6c9 100644
--- a/sys/mips/cavium/octe/ethernet-sgmii.c
+++ b/sys/mips/cavium/octe/ethernet-sgmii.c
@@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$");
#include <net/ethernet.h>
#include <net/if.h>
+#include <net/if_var.h>
#include "wrapper-cvmx-includes.h"
#include "ethernet-headers.h"
diff --git a/sys/mips/cavium/octe/ethernet-spi.c b/sys/mips/cavium/octe/ethernet-spi.c
index b378117..dc9e9cc 100644
--- a/sys/mips/cavium/octe/ethernet-spi.c
+++ b/sys/mips/cavium/octe/ethernet-spi.c
@@ -41,6 +41,7 @@ __FBSDID("$FreeBSD$");
#include <net/ethernet.h>
#include <net/if.h>
+#include <net/if_var.h>
#include "wrapper-cvmx-includes.h"
#include "ethernet-headers.h"
diff --git a/sys/mips/cavium/octe/ethernet-tx.c b/sys/mips/cavium/octe/ethernet-tx.c
index 97af542..b55ada6 100644
--- a/sys/mips/cavium/octe/ethernet-tx.c
+++ b/sys/mips/cavium/octe/ethernet-tx.c
@@ -41,6 +41,7 @@ __FBSDID("$FreeBSD$");
#include <net/bpf.h>
#include <net/ethernet.h>
#include <net/if.h>
+#include <net/if_var.h>
#include "wrapper-cvmx-includes.h"
#include "ethernet-headers.h"
diff --git a/sys/mips/cavium/octe/ethernet-xaui.c b/sys/mips/cavium/octe/ethernet-xaui.c
index 47af915..e1854b2 100644
--- a/sys/mips/cavium/octe/ethernet-xaui.c
+++ b/sys/mips/cavium/octe/ethernet-xaui.c
@@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$");
#include <net/ethernet.h>
#include <net/if.h>
+#include <net/if_var.h>
#include "wrapper-cvmx-includes.h"
#include "ethernet-headers.h"
diff --git a/sys/mips/cavium/octe/ethernet.c b/sys/mips/cavium/octe/ethernet.c
index 7d2c7df..b2a5ddf 100644
--- a/sys/mips/cavium/octe/ethernet.c
+++ b/sys/mips/cavium/octe/ethernet.c
@@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
#include <net/ethernet.h>
#include <net/if.h>
+#include <net/if_var.h>
#include <net/if_types.h>
#include "wrapper-cvmx-includes.h"
OpenPOWER on IntegriCloud