summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-09-11 20:05:27 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-09-11 20:05:27 +0000
commit650cf27b4440ede3599ffc101d32dcc91e46bb9a (patch)
tree92c55aa4cd2a8c4cc3625c79f143ed9632fe0a72 /sys/dev
parent071c2d52c75d240533eb0bb44f76527fe6f365cf (diff)
Don't include <vm/vm_kern.h> if you don't need foo_map.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/eisa/if_fea.c3
-rw-r--r--sys/dev/ic/ami.c3
-rw-r--r--sys/dev/ic/lsi64854.c3
-rw-r--r--sys/dev/ic/pdq_ifsubr.c3
-rw-r--r--sys/dev/ic/rtl81x9.c3
-rw-r--r--sys/dev/pci/bktr/bktr_os.c3
-rw-r--r--sys/dev/pci/if_de.c3
-rw-r--r--sys/dev/pci/if_fpa.c3
-rw-r--r--sys/dev/pci/if_le_pci.c3
-rw-r--r--sys/dev/pci/if_lge.c3
-rw-r--r--sys/dev/pci/if_lmc.c3
-rw-r--r--sys/dev/pci/if_lmc_common.c3
-rw-r--r--sys/dev/pci/if_lmc_media.c5
-rw-r--r--sys/dev/pci/if_lmc_obsd.c3
-rw-r--r--sys/dev/pci/if_nge.c3
-rw-r--r--sys/dev/pci/if_rl_pci.c3
-rw-r--r--sys/dev/pci/if_sk.c3
-rw-r--r--sys/dev/pci/if_ti.c3
-rw-r--r--sys/dev/pci/if_txp.c3
-rw-r--r--sys/dev/pci/if_wb.c3
-rw-r--r--sys/dev/pci/if_wxvar.h1
-rw-r--r--sys/dev/pci/pciide.c3
-rw-r--r--sys/dev/tc/if_fta.c3
23 files changed, 23 insertions, 46 deletions
diff --git a/sys/dev/eisa/if_fea.c b/sys/dev/eisa/if_fea.c
index 0d4a2569ec5..3719de40dfd 100644
--- a/sys/dev/eisa/if_fea.c
+++ b/sys/dev/eisa/if_fea.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_fea.c,v 1.9 2001/08/12 20:33:50 mickey Exp $ */
+/* $OpenBSD: if_fea.c,v 1.10 2001/09/11 20:05:25 miod Exp $ */
/* $NetBSD: if_fea.c,v 1.9 1996/10/21 22:31:05 thorpej Exp $ */
/*-
@@ -66,7 +66,6 @@
#include <net/if_fddi.h>
#include <vm/vm.h>
-#include <vm/vm_kern.h>
#include <machine/cpu.h>
#include <machine/bus.h>
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c
index 75e5aea9375..9d0dc8fc8e5 100644
--- a/sys/dev/ic/ami.c
+++ b/sys/dev/ic/ami.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami.c,v 1.10 2001/07/04 22:53:25 espie Exp $ */
+/* $OpenBSD: ami.c,v 1.11 2001/09/11 20:05:25 miod Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -61,7 +61,6 @@
#include <machine/bus.h>
#include <vm/vm.h>
-#include <vm/vm_kern.h>
#include <uvm/uvm_extern.h>
#include <scsi/scsi_all.h>
diff --git a/sys/dev/ic/lsi64854.c b/sys/dev/ic/lsi64854.c
index a121950776d..dea5b6612b1 100644
--- a/sys/dev/ic/lsi64854.c
+++ b/sys/dev/ic/lsi64854.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lsi64854.c,v 1.2 2001/08/25 14:58:32 jason Exp $ */
+/* $OpenBSD: lsi64854.c,v 1.3 2001/09/11 20:05:25 miod Exp $ */
/* $NetBSD: lsi64854.c,v 1.18 2001/06/04 20:56:51 mrg Exp $ */
/*-
@@ -45,7 +45,6 @@
#include <sys/device.h>
#include <vm/vm.h>
-#include <vm/vm_kern.h>
#include <uvm/uvm_extern.h>
#include <machine/bus.h>
diff --git a/sys/dev/ic/pdq_ifsubr.c b/sys/dev/ic/pdq_ifsubr.c
index e8b570932a2..775a5c399d5 100644
--- a/sys/dev/ic/pdq_ifsubr.c
+++ b/sys/dev/ic/pdq_ifsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pdq_ifsubr.c,v 1.8 2001/08/12 20:33:50 mickey Exp $ */
+/* $OpenBSD: pdq_ifsubr.c,v 1.9 2001/09/11 20:05:25 miod Exp $ */
/* $NetBSD: pdq_ifsubr.c,v 1.5 1996/05/20 00:26:21 thorpej Exp $ */
/*-
@@ -84,7 +84,6 @@
#endif
#include <vm/vm.h>
-#include <vm/vm_kern.h>
#include "pdqvar.h"
#include "pdqreg.h"
diff --git a/sys/dev/ic/rtl81x9.c b/sys/dev/ic/rtl81x9.c
index 286a54e677e..8616cb766fc 100644
--- a/sys/dev/ic/rtl81x9.c
+++ b/sys/dev/ic/rtl81x9.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtl81x9.c,v 1.8 2001/08/12 20:12:12 mickey Exp $ */
+/* $OpenBSD: rtl81x9.c,v 1.9 2001/09/11 20:05:25 miod Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -115,7 +115,6 @@
#endif
#include <vm/vm.h> /* for vtophys */
-#include <vm/vm_kern.h>
#include <machine/bus.h>
#include <dev/mii/mii.h>
diff --git a/sys/dev/pci/bktr/bktr_os.c b/sys/dev/pci/bktr/bktr_os.c
index 856c59be0dc..ca4507de3fc 100644
--- a/sys/dev/pci/bktr/bktr_os.c
+++ b/sys/dev/pci/bktr/bktr_os.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bktr_os.c,v 1.5 2001/08/25 10:13:30 art Exp $ */
+/* $OpenBSD: bktr_os.c,v 1.6 2001/09/11 20:05:25 miod Exp $ */
/* $FreeBSD: src/sys/dev/bktr/bktr_os.c,v 1.20 2000/10/20 08:16:53 roger Exp $ */
/*
@@ -78,7 +78,6 @@
#include <sys/vnode.h>
#include <vm/vm.h>
-#include <vm/vm_kern.h>
#include <vm/pmap.h>
#include <vm/vm_extern.h>
diff --git a/sys/dev/pci/if_de.c b/sys/dev/pci/if_de.c
index 540b169a028..058c0625317 100644
--- a/sys/dev/pci/if_de.c
+++ b/sys/dev/pci/if_de.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_de.c,v 1.49 2001/08/25 10:13:29 art Exp $ */
+/* $OpenBSD: if_de.c,v 1.50 2001/09/11 20:05:25 miod Exp $ */
/* $NetBSD: if_de.c,v 1.45 1997/06/09 00:34:18 thorpej Exp $ */
/*-
@@ -91,7 +91,6 @@
#endif
#include <vm/vm.h>
-#include <vm/vm_kern.h>
#if defined(__FreeBSD__)
#include <vm/pmap.h>
diff --git a/sys/dev/pci/if_fpa.c b/sys/dev/pci/if_fpa.c
index 7acc3ef4ae6..b81fe0cb296 100644
--- a/sys/dev/pci/if_fpa.c
+++ b/sys/dev/pci/if_fpa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_fpa.c,v 1.15 2001/08/25 10:13:29 art Exp $ */
+/* $OpenBSD: if_fpa.c,v 1.16 2001/09/11 20:05:25 miod Exp $ */
/* $NetBSD: if_fpa.c,v 1.15 1996/10/21 22:56:40 thorpej Exp $ */
/*-
@@ -63,7 +63,6 @@
#include <net/if_fddi.h>
#include <vm/vm.h>
-#include <vm/vm_kern.h>
#include <dev/pci/pcidevs.h>
#include <dev/pci/pcivar.h>
diff --git a/sys/dev/pci/if_le_pci.c b/sys/dev/pci/if_le_pci.c
index 79b0bf96a95..3a0ff2a5d3e 100644
--- a/sys/dev/pci/if_le_pci.c
+++ b/sys/dev/pci/if_le_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_le_pci.c,v 1.16 2001/08/25 10:13:29 art Exp $ */
+/* $OpenBSD: if_le_pci.c,v 1.17 2001/09/11 20:05:25 miod Exp $ */
/* $NetBSD: if_le_pci.c,v 1.13 1996/10/25 21:33:32 cgd Exp $ */
/*-
@@ -50,7 +50,6 @@
#include <sys/device.h>
#include <vm/vm.h>
-#include <vm/vm_kern.h>
#include <net/if.h>
#include <net/if_media.h>
diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c
index 22b4401d678..60064563495 100644
--- a/sys/dev/pci/if_lge.c
+++ b/sys/dev/pci/if_lge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_lge.c,v 1.2 2001/09/05 20:58:54 nate Exp $ */
+/* $OpenBSD: if_lge.c,v 1.3 2001/09/11 20:05:25 miod Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2000, 2001
@@ -108,7 +108,6 @@
#include <vm/vm.h> /* for vtophys */
#include <vm/pmap.h> /* for vtophys */
-#include <vm/vm_kern.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
diff --git a/sys/dev/pci/if_lmc.c b/sys/dev/pci/if_lmc.c
index d46672ffd5e..2437c071770 100644
--- a/sys/dev/pci/if_lmc.c
+++ b/sys/dev/pci/if_lmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_lmc.c,v 1.11 2001/08/12 20:33:50 mickey Exp $ */
+/* $OpenBSD: if_lmc.c,v 1.12 2001/09/11 20:05:25 miod Exp $ */
/* $NetBSD: if_lmc.c,v 1.1 1999/03/25 03:32:43 explorer Exp $ */
/*-
@@ -118,7 +118,6 @@
#endif
#include <vm/vm.h>
-#include <vm/vm_kern.h>
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
#include <net/if_sppp.h>
diff --git a/sys/dev/pci/if_lmc_common.c b/sys/dev/pci/if_lmc_common.c
index b267b245b64..62047e40bdb 100644
--- a/sys/dev/pci/if_lmc_common.c
+++ b/sys/dev/pci/if_lmc_common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_lmc_common.c,v 1.5 2001/08/12 20:33:50 mickey Exp $ */
+/* $OpenBSD: if_lmc_common.c,v 1.6 2001/09/11 20:05:25 miod Exp $ */
/* $NetBSD: if_lmc_common.c,v 1.1 1999/03/25 03:32:43 explorer Exp $ */
/*-
@@ -102,7 +102,6 @@
#endif
#include <vm/vm.h>
-#include <vm/vm_kern.h>
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
#include <net/if_sppp.h>
diff --git a/sys/dev/pci/if_lmc_media.c b/sys/dev/pci/if_lmc_media.c
index 33bf75d023d..4686264b3ec 100644
--- a/sys/dev/pci/if_lmc_media.c
+++ b/sys/dev/pci/if_lmc_media.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: if_lmc_media.c,v 1.10 2001/08/23 14:17:07 aaron Exp $ */
-/* $Id: if_lmc_media.c,v 1.10 2001/08/23 14:17:07 aaron Exp $ */
+/* $OpenBSD: if_lmc_media.c,v 1.11 2001/09/11 20:05:25 miod Exp $ */
+/* $Id: if_lmc_media.c,v 1.11 2001/09/11 20:05:25 miod Exp $ */
/*-
* Copyright (c) 1997-1999 LAN Media Corporation (LMC)
@@ -78,7 +78,6 @@
#endif
#include <vm/vm.h>
-#include <vm/vm_kern.h>
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
#include <net/if_sppp.h>
diff --git a/sys/dev/pci/if_lmc_obsd.c b/sys/dev/pci/if_lmc_obsd.c
index 0bcedc4caeb..e8171b5b14c 100644
--- a/sys/dev/pci/if_lmc_obsd.c
+++ b/sys/dev/pci/if_lmc_obsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_lmc_obsd.c,v 1.10 2001/08/25 10:13:29 art Exp $ */
+/* $OpenBSD: if_lmc_obsd.c,v 1.11 2001/09/11 20:05:25 miod Exp $ */
/* $NetBSD: if_lmc_nbsd.c,v 1.1 1999/03/25 03:32:43 explorer Exp $ */
/*-
@@ -102,7 +102,6 @@
#endif
#include <vm/vm.h>
-#include <vm/vm_kern.h>
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
#include <net/if_sppp.h>
diff --git a/sys/dev/pci/if_nge.c b/sys/dev/pci/if_nge.c
index 72fffc0097b..fd745d57129 100644
--- a/sys/dev/pci/if_nge.c
+++ b/sys/dev/pci/if_nge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nge.c,v 1.9 2001/09/04 14:17:51 nate Exp $ */
+/* $OpenBSD: if_nge.c,v 1.10 2001/09/11 20:05:25 miod Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2000, 2001
@@ -109,7 +109,6 @@
#endif
#include <vm/vm.h> /* for vtophys */
-#include <vm/vm_kern.h>
#define NGE_USEIOSPACE
diff --git a/sys/dev/pci/if_rl_pci.c b/sys/dev/pci/if_rl_pci.c
index fda4701dea1..b4b3cf77028 100644
--- a/sys/dev/pci/if_rl_pci.c
+++ b/sys/dev/pci/if_rl_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rl_pci.c,v 1.4 2001/08/25 10:13:29 art Exp $ */
+/* $OpenBSD: if_rl_pci.c,v 1.5 2001/09/11 20:05:25 miod Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -63,7 +63,6 @@
#endif
#include <vm/vm.h> /* for vtophys */
-#include <vm/vm_kern.h>
#include <machine/bus.h>
#include <dev/mii/mii.h>
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c
index 70911dd8988..3bd3635d9e5 100644
--- a/sys/dev/pci/if_sk.c
+++ b/sys/dev/pci/if_sk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sk.c,v 1.16 2001/08/25 10:13:29 art Exp $ */
+/* $OpenBSD: if_sk.c,v 1.17 2001/09/11 20:05:25 miod Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -101,7 +101,6 @@
#endif
#include <vm/vm.h> /* for vtophys */
-#include <vm/vm_kern.h>
#include <machine/bus.h>
#include <dev/mii/mii.h>
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c
index d674e57ac51..63472502700 100644
--- a/sys/dev/pci/if_ti.c
+++ b/sys/dev/pci/if_ti.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ti.c,v 1.29 2001/08/25 10:13:29 art Exp $ */
+/* $OpenBSD: if_ti.c,v 1.30 2001/09/11 20:05:25 miod Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -111,7 +111,6 @@
#endif
#include <vm/vm.h> /* for vtophys */
-#include <vm/vm_kern.h>
#include <machine/bus.h>
#include <dev/pci/pcireg.h>
diff --git a/sys/dev/pci/if_txp.c b/sys/dev/pci/if_txp.c
index 86af8e8a674..7e1498a9c9d 100644
--- a/sys/dev/pci/if_txp.c
+++ b/sys/dev/pci/if_txp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_txp.c,v 1.54 2001/08/27 22:06:52 jason Exp $ */
+/* $OpenBSD: if_txp.c,v 1.55 2001/09/11 20:05:25 miod Exp $ */
/*
* Copyright (c) 2001
@@ -74,7 +74,6 @@
#endif
#include <vm/vm.h> /* for vtophys */
-#include <vm/vm_kern.h>
#include <machine/bus.h>
#include <dev/mii/mii.h>
diff --git a/sys/dev/pci/if_wb.c b/sys/dev/pci/if_wb.c
index 312eb8e6a99..3c5fd8efc50 100644
--- a/sys/dev/pci/if_wb.c
+++ b/sys/dev/pci/if_wb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wb.c,v 1.13 2001/08/25 10:13:29 art Exp $ */
+/* $OpenBSD: if_wb.c,v 1.14 2001/09/11 20:05:25 miod Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -117,7 +117,6 @@
#endif
#include <vm/vm.h> /* for vtophys */
-#include <vm/vm_kern.h>
#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
diff --git a/sys/dev/pci/if_wxvar.h b/sys/dev/pci/if_wxvar.h
index e7cfdb32426..c0b3a7f83d4 100644
--- a/sys/dev/pci/if_wxvar.h
+++ b/sys/dev/pci/if_wxvar.h
@@ -80,7 +80,6 @@
#endif
#include <vm/vm.h>
#include <vm/vm_param.h>
-#include <vm/vm_kern.h>
#include <net/if_ether.h>
#if defined(INET)
#include <netinet/if_inarp.h>
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index 966656fbf17..bb8f6ed5c17 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.66 2001/08/31 18:14:37 chris Exp $ */
+/* $OpenBSD: pciide.c,v 1.67 2001/09/11 20:05:25 miod Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -93,7 +93,6 @@ int wdcdebug_pciide_mask = 0;
#include <sys/malloc.h>
#include <vm/vm.h>
-#include <vm/vm_kern.h>
#include <machine/endian.h>
diff --git a/sys/dev/tc/if_fta.c b/sys/dev/tc/if_fta.c
index 2e3ff188c63..2d36bc5560f 100644
--- a/sys/dev/tc/if_fta.c
+++ b/sys/dev/tc/if_fta.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_fta.c,v 1.7 2001/08/12 20:33:50 mickey Exp $ */
+/* $OpenBSD: if_fta.c,v 1.8 2001/09/11 20:05:25 miod Exp $ */
/* $NetBSD: if_fta.c,v 1.7 1996/10/22 21:37:26 cgd Exp $ */
/*-
@@ -57,7 +57,6 @@
#include <net/if_fddi.h>
#include <vm/vm.h>
-#include <vm/vm_kern.h>
#include <dev/tc/tcvar.h>
#include <dev/ic/pdqvar.h>