summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-20 13:11:54 +0000
committerbde <bde@FreeBSD.org>1998-02-20 13:11:54 +0000
commit9fca0723929264374d94aa58ebfe4ddba59c7267 (patch)
tree8c203aab3ab8001a31d8271bed512b844b73165e /sys/pci
parentb41d85112c856e97e513157a2ba0f0711c04099d (diff)
downloadFreeBSD-src-9fca0723929264374d94aa58ebfe4ddba59c7267.zip
FreeBSD-src-9fca0723929264374d94aa58ebfe4ddba59c7267.tar.gz
Removed unused #includes.
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/dpt_pci.c10
-rw-r--r--sys/pci/if_de.c4
-rw-r--r--sys/pci/if_fpa.c9
-rw-r--r--sys/pci/if_fxp.c8
-rw-r--r--sys/pci/if_vx_pci.c13
5 files changed, 4 insertions, 40 deletions
diff --git a/sys/pci/dpt_pci.c b/sys/pci/dpt_pci.c
index a818831..1899d60 100644
--- a/sys/pci/dpt_pci.c
+++ b/sys/pci/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/pci/if_de.c b/sys/pci/if_de.c
index c01f608..1cfaeba 100644
--- a/sys/pci/if_de.c
+++ b/sys/pci/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/pci/if_fpa.c b/sys/pci/if_fpa.c
index e2e45ad..8706f2a 100644
--- a/sys/pci/if_fpa.c
+++ b/sys/pci/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/pci/if_fxp.c b/sys/pci/if_fxp.c
index 2e48cc9..bd93465 100644
--- a/sys/pci/if_fxp.c
+++ b/sys/pci/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/pci/if_vx_pci.c b/sys/pci/if_vx_pci.c
index bce0de9..bd47856 100644
--- a/sys/pci/if_vx_pci.c
+++ b/sys/pci/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>
OpenPOWER on IntegriCloud