summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-08-02 14:33:27 +0000
committerbde <bde@FreeBSD.org>1997-08-02 14:33:27 +0000
commit9195bd1ec7d7d8d8239de6a1eb75124aa8307f1f (patch)
tree9c6abeea2159a31b9e536051714351e3abfe9989 /sys/pci
parentb6f496a4ab1dbf77dccbdc672e9d9cd294a36b99 (diff)
downloadFreeBSD-src-9195bd1ec7d7d8d8239de6a1eb75124aa8307f1f.zip
FreeBSD-src-9195bd1ec7d7d8d8239de6a1eb75124aa8307f1f.tar.gz
Removed unused #includes.
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/bt9xx.c4
-rw-r--r--sys/pci/ide_pci.c6
-rw-r--r--sys/pci/if_fpa.c28
-rw-r--r--sys/pci/if_fxp.c14
-rw-r--r--sys/pci/if_lnc_p.c3
-rw-r--r--sys/pci/ncr.c8
-rw-r--r--sys/pci/pci.c6
-rw-r--r--sys/pci/pci_compat.c7
-rw-r--r--sys/pci/pcisupport.c3
-rw-r--r--sys/pci/wd82371.c7
-rw-r--r--sys/pci/wdc_p.c6
11 files changed, 12 insertions, 80 deletions
diff --git a/sys/pci/bt9xx.c b/sys/pci/bt9xx.c
index 6c9bfda..e50116e 100644
--- a/sys/pci/bt9xx.c
+++ b/sys/pci/bt9xx.c
@@ -19,16 +19,14 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id$
+ * $Id: bt9xx.c,v 1.10 1997/02/22 09:44:00 peter Exp $
*/
#include "pci.h"
#if NPCI > 0
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/kernel.h>
-#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>
#include <pci/pcireg.h>
#include <pci/pcivar.h>
diff --git a/sys/pci/ide_pci.c b/sys/pci/ide_pci.c
index e8e13c7..21de978 100644
--- a/sys/pci/ide_pci.c
+++ b/sys/pci/ide_pci.c
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*
* From: wd82371.c,v 1.5.2.1 1996/11/16 21:19:51 phk Exp $
- * $Id$
+ * $Id: ide_pci.c,v 1.1 1997/07/29 12:57:09 sos Exp $
*/
#include "pci.h"
@@ -35,16 +35,12 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/queue.h>
-#include <sys/proc.h>
#include <sys/buf.h>
#include <sys/malloc.h>
#include <sys/kernel.h>
#include <vm/vm.h>
#include <vm/pmap.h>
-#include <machine/pmap.h> /* for vtophys */
-
#include <i386/isa/wdreg.h>
#include <pci/pcivar.h>
diff --git a/sys/pci/if_fpa.c b/sys/pci/if_fpa.c
index 6bd8037..0dab356 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.2 1997/01/17 23:54:42 joerg Exp $
+ * $Id: if_fpa.c,v 1.3 1997/03/24 11:24:51 bde Exp $
*
*/
@@ -34,44 +34,21 @@
#include <sys/param.h>
#include <sys/kernel.h>
-#include <sys/mbuf.h>
-#include <sys/protosw.h>
#include <sys/socket.h>
-#include <sys/errno.h>
-#include <sys/malloc.h>
#if defined(__bsdi__) || defined(__NetBSD__)
#include <sys/device.h>
#endif
#include <net/if.h>
-#include <net/if_types.h>
-#include <net/if_dl.h>
-#include <net/route.h>
-
-#include "bpfilter.h"
-#if NBPFILTER > 0
-#include <net/bpf.h>
-#include <net/bpfdesc.h>
-#endif
#ifdef INET
#include <netinet/in.h>
#include <netinet/if_ether.h>
#endif
-#if defined(__FreeBSD__)
-#include <netinet/if_fddi.h>
-#else
-#include <net/if_fddi.h>
-#endif
-
-#include <vm/vm.h>
-#include <vm/vm_kern.h>
-#include <vm/vm_param.h>
#if defined(__FreeBSD__)
#include "fpa.h"
#include <pci/pcivar.h>
-#include <i386/isa/icu.h>
#include <dev/pdq/pdqvar.h>
#include <dev/pdq/pdqreg.h>
#elif defined(__bsdi__)
@@ -83,9 +60,6 @@
#if _BSDI_VERSION < 199401
#define IRQSHARE 0
#endif
-#include <i386/pci/pci.h>
-#include <dev/pdq/pdqvar.h>
-#include <dev/pdq/pdqreg.h>
#elif defined(__NetBSD__)
#include <dev/pci/pcivar.h>
#include <dev/ic/pdqvar.h>
diff --git a/sys/pci/if_fxp.c b/sys/pci/if_fxp.c
index 7873f3f..669bb1f 100644
--- a/sys/pci/if_fxp.c
+++ b/sys/pci/if_fxp.c
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_fxp.c,v 1.36 1997/06/16 04:45:57 davidg Exp $
+ * $Id: if_fxp.c,v 1.37 1997/07/25 23:41:12 davidg Exp $
*/
/*
@@ -43,22 +43,12 @@
#include <sys/syslog.h>
#include <net/if.h>
-#include <net/if_dl.h>
-#include <net/if_types.h>
#ifdef INET
#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/in_var.h>
-#include <netinet/ip.h>
#include <netinet/if_ether.h>
#endif
-#ifdef IPX
-#include <netipx/ipx.h>
-#include <netipx/ipx_if.h>
-#endif
-
#ifdef NS
#include <netns/ns.h>
#include <netns/ns_if.h>
@@ -66,11 +56,9 @@
#if NBPFILTER > 0
#include <net/bpf.h>
-#include <net/bpfdesc.h>
#endif
#include <vm/vm.h> /* for vtophys */
-#include <vm/vm_param.h> /* for vtophys */
#include <vm/pmap.h> /* for vtophys */
#include <machine/clock.h> /* for DELAY */
diff --git a/sys/pci/if_lnc_p.c b/sys/pci/if_lnc_p.c
index acd68a1..f1ec939 100644
--- a/sys/pci/if_lnc_p.c
+++ b/sys/pci/if_lnc_p.c
@@ -17,7 +17,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: if_lnc_p.c,v 1.3 1997/02/22 09:44:06 peter Exp $
+ * $Id: if_lnc_p.c,v 1.4 1997/04/04 16:44:52 kato Exp $
*/
#include "pci.h"
@@ -29,7 +29,6 @@
#include <sys/kernel.h>
#include <pci/pcireg.h>
#include <pci/pcivar.h>
-#include <i386/isa/isa_device.h>
#include "lnc.h"
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index 0891a05..09f3b6f 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: ncr.c,v 1.101 1997/07/28 21:32:05 se Exp $
+** $Id: ncr.c,v 1.102 1997/07/29 21:50:04 se Exp $
**
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
**
@@ -199,10 +199,8 @@
#endif
#include <stddef.h>
-#include <sys/types.h>
#include <sys/param.h>
#include <sys/time.h>
-#include <sys/proc.h>
#ifdef KERNEL
#include <sys/systm.h>
@@ -217,7 +215,6 @@
#include <machine/clock.h>
#endif
#include <vm/vm.h>
-#include <vm/vm_param.h>
#include <vm/pmap.h>
#include <vm/vm_extern.h>
#endif /* KERNEL */
@@ -235,7 +232,6 @@
#define DELAY(x) delay(x)
#endif /* __NetBSD */
-#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>
@@ -1350,7 +1346,7 @@ static void ncr_attach (pcici_t tag, int unit);
static char ident[] =
- "\n$Id: ncr.c,v 1.101 1997/07/28 21:32:05 se Exp $\n";
+ "\n$Id: ncr.c,v 1.102 1997/07/29 21:50:04 se Exp $\n";
static const u_long ncr_version = NCR_VERSION * 11
+ (u_long) sizeof (struct ncb) * 7
diff --git a/sys/pci/pci.c b/sys/pci/pci.c
index e197ee6..bb5a0f8 100644
--- a/sys/pci/pci.c
+++ b/sys/pci/pci.c
@@ -23,18 +23,14 @@
* (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: pci.c,v 1.2 1997/06/25 20:16:02 smp Exp smp $
+ * $Id: pci.c,v 1.77 1997/06/25 20:56:29 fsmp Exp $
*
*/
#include "pci.h"
#if NPCI > 0
-#include <stddef.h>
-
-#include <sys/types.h>
#include <sys/param.h>
-#include <sys/time.h>
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/fcntl.h>
diff --git a/sys/pci/pci_compat.c b/sys/pci/pci_compat.c
index 1a97ed2..dc726f5 100644
--- a/sys/pci/pci_compat.c
+++ b/sys/pci/pci_compat.c
@@ -23,7 +23,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: pci_compat.c,v 1.2 1997/05/28 10:10:02 se Exp $
+ * $Id: pci_compat.c,v 1.3 1997/05/30 20:58:04 se Exp $
*
*/
@@ -32,18 +32,13 @@
/* for compatibility to FreeBSD-2.2 version of PCI code */
-#include <stddef.h>
-
-#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
-#include <sys/fcntl.h>
#include <sys/kernel.h> /* for DATA_SET support */
#include <vm/vm.h>
#include <vm/pmap.h>
-#include <i386/isa/isa_device.h>
#include <sys/interrupt.h>
#include <pci/pcireg.h>
diff --git a/sys/pci/pcisupport.c b/sys/pci/pcisupport.c
index ac78356..c33ba34 100644
--- a/sys/pci/pcisupport.c
+++ b/sys/pci/pcisupport.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcisupport.c,v 1.48 1997/07/18 19:47:23 se Exp $
+** $Id: pcisupport.c,v 1.49 1997/07/29 12:57:08 sos Exp $
**
** Device driver for DEC/INTEL PCI chipsets.
**
@@ -41,7 +41,6 @@
***************************************************************************
*/
-#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
diff --git a/sys/pci/wd82371.c b/sys/pci/wd82371.c
index be212cc..2127446 100644
--- a/sys/pci/wd82371.c
+++ b/sys/pci/wd82371.c
@@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: wd82371.c,v 1.8 1997/02/22 09:44:14 peter Exp $
*/
#include "pci.h"
@@ -34,20 +34,15 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/queue.h>
-#include <sys/proc.h>
#include <sys/buf.h>
#include <sys/malloc.h>
#include <sys/kernel.h>
#include <vm/vm.h>
#include <vm/pmap.h>
-#include <machine/pmap.h> /* for vtophys */
-
#include <i386/isa/wdreg.h>
#include <pci/pcivar.h>
-#include <pci/pcireg.h>
#include <pci/wd82371reg.h>
static void *piix_candma(int, int);
diff --git a/sys/pci/wdc_p.c b/sys/pci/wdc_p.c
index db9fffa..67d9de6 100644
--- a/sys/pci/wdc_p.c
+++ b/sys/pci/wdc_p.c
@@ -16,7 +16,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: wdc_p.c,v 1.1 1997/03/11 23:17:26 se Exp $
+ * $Id: wdc_p.c,v 1.2 1997/04/28 19:26:18 se Exp $
*/
/*
@@ -30,15 +30,11 @@
#ifdef CMD640
#include <sys/param.h>
-#include <sys/systm.h>
-#include <sys/malloc.h>
#include <sys/kernel.h>
#include <pci/pcireg.h>
#include <pci/pcivar.h>
#include <i386/isa/wdc_p.h>
-#include "wdc.h"
-
/*
* PCI-ID's of IDE-Controller
*/
OpenPOWER on IntegriCloud