summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2005-05-29 04:42:30 +0000
committernyan <nyan@FreeBSD.org>2005-05-29 04:42:30 +0000
commit0fce92f5c4e1bb05c348b1c481e9e4997a7900b4 (patch)
tree11cf0b1c58ae0ae1241d5d22b3cc1d2cd8a7c9d7 /sys/pci
parent58d2b4c1934326f78f952f421b56521a36ed3026 (diff)
downloadFreeBSD-src-0fce92f5c4e1bb05c348b1c481e9e4997a7900b4.zip
FreeBSD-src-0fce92f5c4e1bb05c348b1c481e9e4997a7900b4.tar.gz
Remove bus_{mem,p}io.h and related code for a micro-optimization on i386
and amd64. The optimization is a trivial on recent machines. Reviewed by: -arch (imp, marcel, dfr)
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/alpm.c2
-rw-r--r--sys/pci/amdpm.c2
-rw-r--r--sys/pci/if_dc.c2
-rw-r--r--sys/pci/if_pcn.c2
-rw-r--r--sys/pci/if_rl.c2
-rw-r--r--sys/pci/if_sf.c2
-rw-r--r--sys/pci/if_sis.c2
-rw-r--r--sys/pci/if_sk.c2
-rw-r--r--sys/pci/if_ste.c2
-rw-r--r--sys/pci/if_ti.c1
-rw-r--r--sys/pci/if_tl.c2
-rw-r--r--sys/pci/if_vr.c2
-rw-r--r--sys/pci/if_wb.c2
-rw-r--r--sys/pci/if_xl.c2
-rw-r--r--sys/pci/intpm.c2
-rw-r--r--sys/pci/viapm.c2
16 files changed, 0 insertions, 31 deletions
diff --git a/sys/pci/alpm.c b/sys/pci/alpm.c
index 9a0e537..e6f8149 100644
--- a/sys/pci/alpm.c
+++ b/sys/pci/alpm.c
@@ -38,8 +38,6 @@ __FBSDID("$FreeBSD$");
#include <sys/bus.h>
#include <sys/uio.h>
-#include <machine/bus_pio.h>
-#include <machine/bus_memio.h>
#include <machine/bus.h>
#include <machine/resource.h>
#include <sys/rman.h>
diff --git a/sys/pci/amdpm.c b/sys/pci/amdpm.c
index 22ca103..2c8af62 100644
--- a/sys/pci/amdpm.c
+++ b/sys/pci/amdpm.c
@@ -42,8 +42,6 @@ __FBSDID("$FreeBSD$");
#include <sys/bus.h>
#include <sys/uio.h>
-#include <machine/bus_pio.h>
-#include <machine/bus_memio.h>
#include <machine/bus.h>
#include <machine/clock.h>
#include <machine/resource.h>
diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c
index 4fe664d..ae92c8d 100644
--- a/sys/pci/if_dc.c
+++ b/sys/pci/if_dc.c
@@ -112,8 +112,6 @@ __FBSDID("$FreeBSD$");
#include <net/bpf.h>
-#include <machine/bus_pio.h>
-#include <machine/bus_memio.h>
#include <machine/bus.h>
#include <machine/resource.h>
#include <sys/bus.h>
diff --git a/sys/pci/if_pcn.c b/sys/pci/if_pcn.c
index 00607242..640c827 100644
--- a/sys/pci/if_pcn.c
+++ b/sys/pci/if_pcn.c
@@ -71,8 +71,6 @@ __FBSDID("$FreeBSD$");
#include <vm/vm.h> /* for vtophys */
#include <vm/pmap.h> /* for vtophys */
-#include <machine/bus_pio.h>
-#include <machine/bus_memio.h>
#include <machine/bus.h>
#include <machine/resource.h>
#include <sys/bus.h>
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index e71cbb8..4f2fd9b 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -101,8 +101,6 @@ __FBSDID("$FreeBSD$");
#include <net/bpf.h>
-#include <machine/bus_pio.h>
-#include <machine/bus_memio.h>
#include <machine/bus.h>
#include <machine/resource.h>
#include <sys/bus.h>
diff --git a/sys/pci/if_sf.c b/sys/pci/if_sf.c
index ed91f01..5593d52 100644
--- a/sys/pci/if_sf.c
+++ b/sys/pci/if_sf.c
@@ -98,8 +98,6 @@ __FBSDID("$FreeBSD$");
#include <vm/vm.h> /* for vtophys */
#include <vm/pmap.h> /* for vtophys */
-#include <machine/bus_pio.h>
-#include <machine/bus_memio.h>
#include <machine/bus.h>
#include <machine/resource.h>
#include <sys/bus.h>
diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c
index 0e461ba..ad7e1b3 100644
--- a/sys/pci/if_sis.c
+++ b/sys/pci/if_sis.c
@@ -78,8 +78,6 @@ __FBSDID("$FreeBSD$");
#include <net/bpf.h>
-#include <machine/bus_pio.h>
-#include <machine/bus_memio.h>
#include <machine/bus.h>
#include <machine/resource.h>
#include <sys/bus.h>
diff --git a/sys/pci/if_sk.c b/sys/pci/if_sk.c
index 9f148a1..1703e2f 100644
--- a/sys/pci/if_sk.c
+++ b/sys/pci/if_sk.c
@@ -106,8 +106,6 @@ __FBSDID("$FreeBSD$");
#include <vm/vm.h> /* for vtophys */
#include <vm/pmap.h> /* for vtophys */
-#include <machine/bus_pio.h>
-#include <machine/bus_memio.h>
#include <machine/bus.h>
#include <machine/resource.h>
#include <sys/bus.h>
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c
index ac5a2b5..7c51421 100644
--- a/sys/pci/if_ste.c
+++ b/sys/pci/if_ste.c
@@ -54,8 +54,6 @@ __FBSDID("$FreeBSD$");
#include <vm/vm.h> /* for vtophys */
#include <vm/pmap.h> /* for vtophys */
-#include <machine/bus_memio.h>
-#include <machine/bus_pio.h>
#include <machine/bus.h>
#include <machine/resource.h>
#include <sys/bus.h>
diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c
index 86cea7c..4af3b29 100644
--- a/sys/pci/if_ti.c
+++ b/sys/pci/if_ti.c
@@ -108,7 +108,6 @@ __FBSDID("$FreeBSD$");
#include <vm/vm.h> /* for vtophys */
#include <vm/pmap.h> /* for vtophys */
-#include <machine/bus_memio.h>
#include <machine/bus.h>
#include <machine/resource.h>
#include <sys/bus.h>
diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c
index 1415f21..0f70a32 100644
--- a/sys/pci/if_tl.c
+++ b/sys/pci/if_tl.c
@@ -196,8 +196,6 @@ __FBSDID("$FreeBSD$");
#include <vm/vm.h> /* for vtophys */
#include <vm/pmap.h> /* for vtophys */
-#include <machine/bus_memio.h>
-#include <machine/bus_pio.h>
#include <machine/bus.h>
#include <machine/resource.h>
#include <sys/bus.h>
diff --git a/sys/pci/if_vr.c b/sys/pci/if_vr.c
index 843be85..502deb1 100644
--- a/sys/pci/if_vr.c
+++ b/sys/pci/if_vr.c
@@ -79,8 +79,6 @@ __FBSDID("$FreeBSD$");
#include <vm/vm.h> /* for vtophys */
#include <vm/pmap.h> /* for vtophys */
-#include <machine/bus_pio.h>
-#include <machine/bus_memio.h>
#include <machine/bus.h>
#include <machine/resource.h>
#include <sys/bus.h>
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c
index e22d61c..8b460ec 100644
--- a/sys/pci/if_wb.c
+++ b/sys/pci/if_wb.c
@@ -105,8 +105,6 @@ __FBSDID("$FreeBSD$");
#include <vm/vm.h> /* for vtophys */
#include <vm/pmap.h> /* for vtophys */
-#include <machine/bus_memio.h>
-#include <machine/bus_pio.h>
#include <machine/bus.h>
#include <machine/resource.h>
#include <sys/bus.h>
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index 0741667..272b70b 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -119,8 +119,6 @@ __FBSDID("$FreeBSD$");
#include <net/bpf.h>
-#include <machine/bus_memio.h>
-#include <machine/bus_pio.h>
#include <machine/bus.h>
#include <machine/resource.h>
#include <sys/bus.h>
diff --git a/sys/pci/intpm.c b/sys/pci/intpm.c
index cbe622b..1e454bb 100644
--- a/sys/pci/intpm.c
+++ b/sys/pci/intpm.c
@@ -30,8 +30,6 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
-#include <machine/bus_pio.h>
-#include <machine/bus_memio.h>
#include <machine/bus.h>
#include <sys/uio.h>
diff --git a/sys/pci/viapm.c b/sys/pci/viapm.c
index 522d057..685eccd 100644
--- a/sys/pci/viapm.c
+++ b/sys/pci/viapm.c
@@ -34,8 +34,6 @@ __FBSDID("$FreeBSD$");
#include <sys/bus.h>
#include <sys/uio.h>
-#include <machine/bus_pio.h>
-#include <machine/bus_memio.h>
#include <machine/bus.h>
#include <machine/clock.h> /* for DELAY */
#include <machine/resource.h>
OpenPOWER on IntegriCloud