summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-25 11:20:39 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-25 11:20:39 +0000
commit4311d4d9bf0e522e846e82d9fb31fdb25a8d9911 (patch)
treece92306f683d9129fdf627b0711f3b6ab03545b9 /sys/arch
parentdd376135b385eab35f5343d322610bbb6cf1d8d3 (diff)
Network drivers should not include <net/route.h> or <net/netisr.h>
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/dev/be.c3
-rw-r--r--sys/arch/sparc/dev/hme.c3
-rw-r--r--sys/arch/sparc/dev/if_ie.c4
-rw-r--r--sys/arch/sparc/dev/qe.c3
-rw-r--r--sys/arch/sparc/dev/qec.c3
5 files changed, 5 insertions, 11 deletions
diff --git a/sys/arch/sparc/dev/be.c b/sys/arch/sparc/dev/be.c
index 966ea70bc3a..8f2f832af83 100644
--- a/sys/arch/sparc/dev/be.c
+++ b/sys/arch/sparc/dev/be.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: be.c,v 1.57 2015/11/25 03:09:58 dlg Exp $ */
+/* $OpenBSD: be.c,v 1.58 2015/11/25 11:20:38 mpi Exp $ */
/*
* Copyright (c) 1998 Theo de Raadt and Jason L. Wright.
@@ -38,7 +38,6 @@
#include <sys/timeout.h>
#include <net/if.h>
-#include <net/netisr.h>
#include <net/if_media.h>
#include <netinet/in.h>
diff --git a/sys/arch/sparc/dev/hme.c b/sys/arch/sparc/dev/hme.c
index 217c8e8a642..463bb808ddf 100644
--- a/sys/arch/sparc/dev/hme.c
+++ b/sys/arch/sparc/dev/hme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hme.c,v 1.76 2015/11/25 03:09:58 dlg Exp $ */
+/* $OpenBSD: hme.c,v 1.77 2015/11/25 11:20:38 mpi Exp $ */
/*
* Copyright (c) 1998 Jason L. Wright (jason@thought.net)
@@ -51,7 +51,6 @@
#include <sys/malloc.h>
#include <net/if.h>
-#include <net/netisr.h>
#include <net/if_media.h>
#include <netinet/in.h>
diff --git a/sys/arch/sparc/dev/if_ie.c b/sys/arch/sparc/dev/if_ie.c
index 5430c53467b..fd7f914428d 100644
--- a/sys/arch/sparc/dev/if_ie.c
+++ b/sys/arch/sparc/dev/if_ie.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ie.c,v 1.59 2015/11/25 03:09:58 dlg Exp $ */
+/* $OpenBSD: if_ie.c,v 1.60 2015/11/25 11:20:38 mpi Exp $ */
/* $NetBSD: if_ie.c,v 1.33 1997/07/29 17:55:38 fair Exp $ */
/*-
@@ -113,8 +113,6 @@ Mode of operation:
#include <sys/timeout.h>
#include <net/if.h>
-#include <net/netisr.h>
-#include <net/route.h>
#if NBPFILTER > 0
#include <net/bpf.h>
diff --git a/sys/arch/sparc/dev/qe.c b/sys/arch/sparc/dev/qe.c
index 8251d544311..291aad8e10a 100644
--- a/sys/arch/sparc/dev/qe.c
+++ b/sys/arch/sparc/dev/qe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qe.c,v 1.47 2015/11/25 03:09:58 dlg Exp $ */
+/* $OpenBSD: qe.c,v 1.48 2015/11/25 11:20:38 mpi Exp $ */
/*
* Copyright (c) 1998, 2000 Jason L. Wright.
@@ -47,7 +47,6 @@
#include <net/if.h>
#include <net/if_media.h>
-#include <net/netisr.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>
diff --git a/sys/arch/sparc/dev/qec.c b/sys/arch/sparc/dev/qec.c
index 964ca7a1da1..25189c265c3 100644
--- a/sys/arch/sparc/dev/qec.c
+++ b/sys/arch/sparc/dev/qec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qec.c,v 1.26 2015/11/24 17:11:38 mpi Exp $ */
+/* $OpenBSD: qec.c,v 1.27 2015/11/25 11:20:38 mpi Exp $ */
/*
* Copyright (c) 1998 Theo de Raadt and Jason L. Wright.
@@ -39,7 +39,6 @@
#include <sys/socket.h>
#include <net/if.h>
-#include <net/netisr.h>
#include <net/if_media.h>
#include <netinet/in.h>