summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/de/if_de.c4
-rw-r--r--sys/dev/dpt/dpt_control.c13
-rw-r--r--sys/dev/dpt/dpt_pci.c10
-rw-r--r--sys/dev/dpt/dpt_scsi.c12
-rw-r--r--sys/dev/fxp/if_fxp.c8
-rw-r--r--sys/dev/pdq/if_fea.c9
-rw-r--r--sys/dev/pdq/if_fpa.c9
-rw-r--r--sys/dev/pdq/pdq_ifsubr.c4
-rw-r--r--sys/dev/vx/if_vx.c6
-rw-r--r--sys/dev/vx/if_vx_eisa.c12
-rw-r--r--sys/dev/vx/if_vx_pci.c13
-rw-r--r--sys/dev/wl/if_wl.c4
12 files changed, 9 insertions, 95 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c
index c01f608..1cfaeba 100644
--- a/sys/dev/de/if_de.c
+++ b/sys/dev/de/if_de.c
@@ -1,5 +1,5 @@
/* $NetBSD: if_de.c,v 1.56 1997/10/20 14:32:46 matt Exp $ */
-/* $Id: if_de.c,v 1.78 1998/02/04 22:33:24 eivind Exp $ */
+/* $Id: if_de.c,v 1.79 1998/02/06 12:14:08 eivind Exp $ */
/*-
* Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com)
@@ -101,8 +101,6 @@
#if defined(__FreeBSD__)
#include <vm/pmap.h>
#include <pci.h>
-#include <net/ethernet.h>
-#include <net/if_arp.h>
#if NPCI > 0
#include <pci/pcivar.h>
#include <pci/dc21040reg.h>
diff --git a/sys/dev/dpt/dpt_control.c b/sys/dev/dpt/dpt_control.c
index e5d04ab..3015a37 100644
--- a/sys/dev/dpt/dpt_control.c
+++ b/sys/dev/dpt/dpt_control.c
@@ -36,36 +36,25 @@
* future.
*/
-#ident "$Id: dpt_control.c,v 1.1 1998/01/26 06:11:17 julian Exp $"
+#ident "$Id: dpt_control.c,v 1.2 1998/02/10 17:36:43 eivind Exp $"
#include "opt_dpt.h"
-#include <sys/types.h>
-/* #include <i386/isa/isa.h> */
#include <i386/include/cputypes.h>
-#include <i386/isa/timerreg.h>
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/resourcevar.h>
#include <sys/malloc.h>
#include <sys/kernel.h>
#include <sys/buf.h>
#include <sys/uio.h>
#include <sys/conf.h>
-#include <machine/clock.h>
-#include <machine/speaker.h>
-#include <machine/cpu.h>
-#include <machine/cpufunc.h>
#include <vm/vm.h>
#include <vm/vm_kern.h>
#include <vm/vm_extern.h>
#include <vm/pmap.h>
-#include <scsi/scsi_all.h>
-#include <scsi/scsi_message.h>
#include <scsi/scsiconf.h>
#include <sys/dpt.h>
-#include <sys/queue.h>
#define INLINE __inline
diff --git a/sys/dev/dpt/dpt_pci.c b/sys/dev/dpt/dpt_pci.c
index a818831..1899d60 100644
--- a/sys/dev/dpt/dpt_pci.c
+++ b/sys/dev/dpt/dpt_pci.c
@@ -34,34 +34,26 @@
* caveats: We may need an eisa and an isa files too
*/
-#ident "$Id: dpt_pci.c,v 1.2 1998/02/09 02:31:47 eivind Exp $"
+#ident "$Id: dpt_pci.c,v 1.3 1998/02/10 17:36:41 eivind Exp $"
#include "opt_devfs.h"
#include "opt_dpt.h"
-#include <pci.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/buf.h>
-#include <sys/proc.h>
#include <sys/kernel.h>
-#include <scsi/scsi_all.h>
-#include <scsi/scsi_message.h>
#include <scsi/scsiconf.h>
#include <pci/pcireg.h>
-#include <sys/queue.h>
#include <pci/pcivar.h>
#include <sys/dpt.h>
#include <pci/dpt_pci.h>
-#include <machine/clock.h>
-
#include <vm/vm.h>
-#include <vm/vm_param.h>
#include <vm/pmap.h>
#define PCI_BASEADR0 PCI_MAP_REG_START /* I/O Address */
diff --git a/sys/dev/dpt/dpt_scsi.c b/sys/dev/dpt/dpt_scsi.c
index 3d077ce..df99dee 100644
--- a/sys/dev/dpt/dpt_scsi.c
+++ b/sys/dev/dpt/dpt_scsi.c
@@ -64,35 +64,25 @@
* 3. dpt_handle_timeouts potentially inserts into the queue
*/
-#ident "$Id: dpt_scsi.c,v 1.1 1998/01/26 06:11:17 julian Exp $"
+#ident "$Id: dpt_scsi.c,v 1.2 1998/02/10 17:36:44 eivind Exp $"
#define _DPT_C_
#include "opt_dpt.h"
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/time.h>
#include <sys/malloc.h>
#include <sys/buf.h>
-#include <sys/proc.h>
#include <sys/kernel.h>
-#include <sys/acct.h>
-#include <sys/queue.h>
-#include <machine/endian.h>
#include <machine/ipl.h>
-#include <scsi/scsi_all.h>
-#include <scsi/scsi_message.h>
#include <scsi/scsiconf.h>
#include <scsi/scsi_disk.h>
#include <machine/clock.h>
#include <vm/vm.h>
-#include <vm/vm_param.h>
#include <vm/pmap.h>
-#include <sys/reboot.h>
-
#include <sys/dpt.h>
#ifdef INLINE
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 2e48cc9..bd93465 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -27,7 +27,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_fxp.c,v 1.47 1998/01/08 23:42:29 eivind Exp $
+ * $Id: if_fxp.c,v 1.48 1998/02/09 06:10:51 eivind Exp $
*/
/*
@@ -35,7 +35,6 @@
*/
#include "bpfilter.h"
-#include "opt_inet.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -48,11 +47,6 @@
#include <net/if_dl.h>
#include <net/if_media.h>
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/if_ether.h>
-#endif
-
#ifdef NS
#include <netns/ns.h>
#include <netns/ns_if.h>
diff --git a/sys/dev/pdq/if_fea.c b/sys/dev/pdq/if_fea.c
index 2cf06a0..b13b18f 100644
--- a/sys/dev/pdq/if_fea.c
+++ b/sys/dev/pdq/if_fea.c
@@ -21,7 +21,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_fea.c,v 1.7 1997/09/21 21:35:24 gibbs Exp $
+ * $Id: if_fea.c,v 1.8 1998/01/08 23:40:33 eivind Exp $
*/
/*
@@ -30,8 +30,6 @@
* This module support the DEFEA EISA FDDI Controller.
*/
-#include "opt_inet.h"
-
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/socket.h>
@@ -39,14 +37,9 @@
#include <sys/device.h>
#endif
-#include <net/ethernet.h>
#include <net/if.h>
#include <net/if_arp.h>
-#ifdef INET
-#include <netinet/in.h>
-#endif
-
#if defined(__FreeBSD__)
#include <i386/eisa/eisaconf.h>
#include <dev/pdq/pdqvar.h>
diff --git a/sys/dev/pdq/if_fpa.c b/sys/dev/pdq/if_fpa.c
index e2e45ad..8706f2a 100644
--- a/sys/dev/pdq/if_fpa.c
+++ b/sys/dev/pdq/if_fpa.c
@@ -21,7 +21,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_fpa.c,v 1.5 1998/01/08 23:42:26 eivind Exp $
+ * $Id: if_fpa.c,v 1.6 1998/02/09 06:10:49 eivind Exp $
*
*/
@@ -31,8 +31,6 @@
* This module supports the DEC DEFPA PCI FDDI Controller
*/
-#include "opt_inet.h"
-
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/socket.h>
@@ -42,11 +40,6 @@
#include <net/if.h>
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/if_ether.h>
-#endif
-
#if defined(__FreeBSD__)
#include "fpa.h"
#include <net/ethernet.h>
diff --git a/sys/dev/pdq/pdq_ifsubr.c b/sys/dev/pdq/pdq_ifsubr.c
index 9c13a00..0a8106f 100644
--- a/sys/dev/pdq/pdq_ifsubr.c
+++ b/sys/dev/pdq/pdq_ifsubr.c
@@ -21,7 +21,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pdq_ifsubr.c,v 1.5 1997/06/14 13:56:07 bde Exp $
+ * $Id: pdq_ifsubr.c,v 1.6 1998/01/08 23:40:28 eivind Exp $
*
*/
@@ -51,8 +51,6 @@
#endif
#if defined(__FreeBSD__)
-#include <net/ethernet.h>
-#include <net/if_arp.h>
#ifdef INET
#include <netinet/in.h>
#include <netinet/if_ether.h>
diff --git a/sys/dev/vx/if_vx.c b/sys/dev/vx/if_vx.c
index 47367ac..78208c2 100644
--- a/sys/dev/vx/if_vx.c
+++ b/sys/dev/vx/if_vx.c
@@ -61,7 +61,6 @@
#endif
#include "bpfilter.h"
-#include "opt_inet.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -75,11 +74,6 @@
#include <net/ethernet.h>
#include <net/if_arp.h>
-#ifdef NS
-#include <netns/ns.h>
-#include <netns/ns_if.h>
-#endif
-
#if NBPFILTER > 0
#include <net/bpf.h>
#endif
diff --git a/sys/dev/vx/if_vx_eisa.c b/sys/dev/vx/if_vx_eisa.c
index 68fca3f..fcee846 100644
--- a/sys/dev/vx/if_vx_eisa.c
+++ b/sys/dev/vx/if_vx_eisa.c
@@ -34,26 +34,14 @@
#include "vx.h"
#if NVX > 0
-#include "opt_inet.h"
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/socket.h>
-#include <net/ethernet.h>
#include <net/if.h>
#include <net/if_arp.h>
-#ifdef INET
-#include <netinet/in.h>
-#endif
-
-#ifdef NS
-#include <netns/ns.h>
-#include <netns/ns_if.h>
-#endif
-
#include <i386/eisa/eisaconf.h>
#include <dev/vx/if_vxreg.h>
diff --git a/sys/dev/vx/if_vx_pci.c b/sys/dev/vx/if_vx_pci.c
index bce0de9..bd47856 100644
--- a/sys/dev/vx/if_vx_pci.c
+++ b/sys/dev/vx/if_vx_pci.c
@@ -33,28 +33,15 @@
#include "vx.h"
#if NVX > 0
-#include "opt_inet.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/socket.h>
-#include <net/ethernet.h>
#include <net/if.h>
#include <net/if_arp.h>
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/if_ether.h>
-#endif
-
-
-#ifdef NS
-#include <netns/ns.h>
-#include <netns/ns_if.h>
-#endif
-
#include <pci/pcivar.h>
#include <dev/vx/if_vxreg.h>
diff --git a/sys/dev/wl/if_wl.c b/sys/dev/wl/if_wl.c
index 7ed1d4c..8908c20 100644
--- a/sys/dev/wl/if_wl.c
+++ b/sys/dev/wl/if_wl.c
@@ -1,4 +1,4 @@
-/* $Id: if_wl.c,v 1.9 1997/09/21 21:41:13 gibbs Exp $ */
+/* $Id: if_wl.c,v 1.10 1998/01/08 23:41:04 eivind Exp $ */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -204,9 +204,7 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <sys/kernel.h>
#include <sys/sysctl.h>
-#include <net/ethernet.h>
#include <net/if.h>
-#include <net/if_arp.h>
#include <net/if_dl.h>
#ifdef INET
OpenPOWER on IntegriCloud