Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Don't need INET or NS includes here.
details: https://anonhg.NetBSD.org/src/rev/c28e113ccacd
branches: trunk
changeset: 511104:c28e113ccacd
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue Jun 12 22:28:15 2001 +0000
description:
Don't need INET or NS includes here.
diffstat:
sys/dev/ic/depca.c | 8 +-------
sys/dev/ic/dl10019.c | 8 +-------
sys/dev/ic/elinkxl.c | 17 +----------------
sys/dev/ic/i82557.c | 14 +-------------
sys/dev/ic/rtl80x9.c | 8 +-------
sys/dev/ic/rtl81x9.c | 12 +-----------
sys/dev/ic/smc83c170.c | 14 +-------------
sys/dev/ic/tulip.c | 14 +-------------
sys/dev/pci/if_ep_pci.c | 17 +----------------
sys/dev/pci/if_epic_pci.c | 14 +-------------
sys/dev/pci/if_esh_pci.c | 17 +----------------
sys/dev/pci/if_ex_pci.c | 17 +----------------
sys/dev/pci/if_fpa.c | 6 +-----
sys/dev/pci/if_fxp_pci.c | 14 +-------------
sys/dev/pci/if_le_pci.c | 7 +------
sys/dev/pci/if_ne_pci.c | 7 +------
sys/dev/pci/if_rtk_pci.c | 7 ++-----
sys/dev/pci/if_sip.c | 14 +-------------
sys/dev/pci/if_tlp_pci.c | 14 +-------------
sys/dev/pci/if_vr.c | 9 +--------
20 files changed, 21 insertions(+), 217 deletions(-)
diffs (truncated from 630 to 300 lines):
diff -r f8e5bd79a0f1 -r c28e113ccacd sys/dev/ic/depca.c
--- a/sys/dev/ic/depca.c Tue Jun 12 22:05:53 2001 +0000
+++ b/sys/dev/ic/depca.c Tue Jun 12 22:28:15 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: depca.c,v 1.1 2000/08/11 02:27:09 thorpej Exp $ */
+/* $NetBSD: depca.c,v 1.2 2001/06/12 22:32:50 thorpej Exp $ */
/*-
* Copyright (c) 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -75,7 +75,6 @@
* @(#)if_le.c 8.2 (Berkeley) 11/16/93
*/
-#include "opt_inet.h"
#include "bpfilter.h"
#include <sys/param.h>
@@ -89,11 +88,6 @@
#include <net/if_ether.h>
#include <net/if_media.h>
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/if_inarp.h>
-#endif
-
#include <machine/cpu.h>
#include <machine/intr.h>
#include <machine/bus.h>
diff -r f8e5bd79a0f1 -r c28e113ccacd sys/dev/ic/dl10019.c
--- a/sys/dev/ic/dl10019.c Tue Jun 12 22:05:53 2001 +0000
+++ b/sys/dev/ic/dl10019.c Tue Jun 12 22:28:15 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dl10019.c,v 1.2 2001/06/03 04:39:52 thorpej Exp $ */
+/* $NetBSD: dl10019.c,v 1.3 2001/06/12 22:32:50 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -36,7 +36,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include "opt_inet.h"
#include "bpfilter.h"
#include <sys/param.h>
@@ -50,11 +49,6 @@
#include <net/if_ether.h>
#include <net/if_media.h>
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/if_inarp.h>
-#endif
-
#include <machine/bus.h>
#include <machine/intr.h>
diff -r f8e5bd79a0f1 -r c28e113ccacd sys/dev/ic/elinkxl.c
--- a/sys/dev/ic/elinkxl.c Tue Jun 12 22:05:53 2001 +0000
+++ b/sys/dev/ic/elinkxl.c Tue Jun 12 22:28:15 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: elinkxl.c,v 1.50 2001/06/02 16:17:07 thorpej Exp $ */
+/* $NetBSD: elinkxl.c,v 1.51 2001/06/12 22:32:50 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -36,8 +36,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include "opt_inet.h"
-#include "opt_ns.h"
#include "bpfilter.h"
#include "rnd.h"
@@ -63,19 +61,6 @@
#include <net/if_ether.h>
#include <net/if_media.h>
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/in_var.h>
-#include <netinet/ip.h>
-#include <netinet/if_inarp.h>
-#endif
-
-#ifdef NS
-#include <netns/ns.h>
-#include <netns/ns_if.h>
-#endif
-
#if NBPFILTER > 0
#include <net/bpf.h>
#include <net/bpfdesc.h>
diff -r f8e5bd79a0f1 -r c28e113ccacd sys/dev/ic/i82557.c
--- a/sys/dev/ic/i82557.c Tue Jun 12 22:05:53 2001 +0000
+++ b/sys/dev/ic/i82557.c Tue Jun 12 22:28:15 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i82557.c,v 1.53 2001/06/02 01:04:01 thorpej Exp $ */
+/* $NetBSD: i82557.c,v 1.54 2001/06/12 22:32:50 thorpej Exp $ */
/*-
* Copyright (c) 1997, 1998, 1999, 2001 The NetBSD Foundation, Inc.
@@ -72,8 +72,6 @@
* and its successors, the i82558 and i82559.
*/
-#include "opt_inet.h"
-#include "opt_ns.h"
#include "bpfilter.h"
#include "rnd.h"
@@ -105,16 +103,6 @@
#include <net/bpf.h>
#endif
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/if_inarp.h>
-#endif
-
-#ifdef NS
-#include <netns/ns.h>
-#include <netns/ns_if.h>
-#endif
-
#include <machine/bus.h>
#include <machine/intr.h>
diff -r f8e5bd79a0f1 -r c28e113ccacd sys/dev/ic/rtl80x9.c
--- a/sys/dev/ic/rtl80x9.c Tue Jun 12 22:05:53 2001 +0000
+++ b/sys/dev/ic/rtl80x9.c Tue Jun 12 22:28:15 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtl80x9.c,v 1.5 2001/02/12 18:49:04 thorpej Exp $ */
+/* $NetBSD: rtl80x9.c,v 1.6 2001/06/12 22:32:50 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -37,7 +37,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include "opt_inet.h"
#include "bpfilter.h"
#include <sys/param.h>
@@ -51,11 +50,6 @@
#include <net/if_ether.h>
#include <net/if_media.h>
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/if_inarp.h>
-#endif
-
#include <machine/bus.h>
#include <machine/intr.h>
diff -r f8e5bd79a0f1 -r c28e113ccacd sys/dev/ic/rtl81x9.c
--- a/sys/dev/ic/rtl81x9.c Tue Jun 12 22:05:53 2001 +0000
+++ b/sys/dev/ic/rtl81x9.c Tue Jun 12 22:28:15 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtl81x9.c,v 1.31 2001/02/02 04:34:19 thorpej Exp $ */
+/* $NetBSD: rtl81x9.c,v 1.32 2001/06/12 22:32:50 thorpej Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -85,8 +85,6 @@
* to select which interface to use depending on the chip type.
*/
-#include "opt_inet.h"
-#include "opt_ns.h"
#include "bpfilter.h"
#include "rnd.h"
@@ -107,14 +105,6 @@
#include <net/if_ether.h>
#include <net/if_dl.h>
#include <net/if_media.h>
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/if_inarp.h>
-#endif
-#ifdef NS
-#include <netns/ns.h>
-#include <netns/ns_if.h>
-#endif
#if NBPFILTER > 0
#include <net/bpf.h>
diff -r f8e5bd79a0f1 -r c28e113ccacd sys/dev/ic/smc83c170.c
--- a/sys/dev/ic/smc83c170.c Tue Jun 12 22:05:53 2001 +0000
+++ b/sys/dev/ic/smc83c170.c Tue Jun 12 22:28:15 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: smc83c170.c,v 1.44 2001/05/17 19:00:18 drochner Exp $ */
+/* $NetBSD: smc83c170.c,v 1.45 2001/06/12 22:32:50 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -42,8 +42,6 @@
* Ethernet PCI Integrated Controller (EPIC/100).
*/
-#include "opt_inet.h"
-#include "opt_ns.h"
#include "bpfilter.h"
#include <sys/param.h>
@@ -68,16 +66,6 @@
#include <net/bpf.h>
#endif
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/if_inarp.h>
-#endif
-
-#ifdef NS
-#include <netns/ns.h>
-#include <netns/ns_if.h>
-#endif
-
#include <machine/bus.h>
#include <machine/intr.h>
diff -r f8e5bd79a0f1 -r c28e113ccacd sys/dev/ic/tulip.c
--- a/sys/dev/ic/tulip.c Tue Jun 12 22:05:53 2001 +0000
+++ b/sys/dev/ic/tulip.c Tue Jun 12 22:28:15 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tulip.c,v 1.92 2001/06/12 15:17:23 wiz Exp $ */
+/* $NetBSD: tulip.c,v 1.93 2001/06/12 22:32:50 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -42,8 +42,6 @@
* Ethernet controller family, and a variety of clone chips.
*/
-#include "opt_inet.h"
-#include "opt_ns.h"
#include "bpfilter.h"
#include <sys/param.h>
@@ -70,16 +68,6 @@
#include <net/bpf.h>
#endif
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/if_inarp.h>
-#endif
-
-#ifdef NS
-#include <netns/ns.h>
-#include <netns/ns_if.h>
-#endif
-
#include <machine/bus.h>
#include <machine/intr.h>
diff -r f8e5bd79a0f1 -r c28e113ccacd sys/dev/pci/if_ep_pci.c
--- a/sys/dev/pci/if_ep_pci.c Tue Jun 12 22:05:53 2001 +0000
+++ b/sys/dev/pci/if_ep_pci.c Tue Jun 12 22:28:15 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ep_pci.c,v 1.33 2000/12/28 22:59:13 sommerfeld Exp $ */
+/* $NetBSD: if_ep_pci.c,v 1.34 2001/06/12 22:28:15 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -68,8 +68,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "opt_inet.h"
-#include "opt_ns.h"
#include "bpfilter.h"
#include <sys/param.h>
@@ -87,19 +85,6 @@
#include <net/if_ether.h>
#include <net/if_media.h>
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/in_var.h>
-#include <netinet/ip.h>
-#include <netinet/if_inarp.h>
-#endif
-
-#ifdef NS
-#include <netns/ns.h>
-#include <netns/ns_if.h>
-#endif
-
#if NBPFILTER > 0
#include <net/bpf.h>
Home |
Main Index |
Thread Index |
Old Index