summaryrefslogtreecommitdiffstats
path: root/sys/compat/ndis
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/compat/ndis
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/compat/ndis')
-rw-r--r--sys/compat/ndis/subr_hal.c2
-rw-r--r--sys/compat/ndis/subr_ndis.c2
-rw-r--r--sys/compat/ndis/subr_ntoskrnl.c2
3 files changed, 0 insertions, 6 deletions
diff --git a/sys/compat/ndis/subr_hal.c b/sys/compat/ndis/subr_hal.c
index c6508ed..ca8f009 100644
--- a/sys/compat/ndis/subr_hal.c
+++ b/sys/compat/ndis/subr_hal.c
@@ -47,8 +47,6 @@ __FBSDID("$FreeBSD$");
#include <sys/systm.h>
#include <machine/clock.h>
-#include <machine/bus_memio.h>
-#include <machine/bus_pio.h>
#include <machine/bus.h>
#include <sys/bus.h>
diff --git a/sys/compat/ndis/subr_ndis.c b/sys/compat/ndis/subr_ndis.c
index f7927c1..c1418a4 100644
--- a/sys/compat/ndis/subr_ndis.c
+++ b/sys/compat/ndis/subr_ndis.c
@@ -82,8 +82,6 @@ __FBSDID("$FreeBSD$");
#include <net/if_media.h>
#include <machine/atomic.h>
-#include <machine/bus_memio.h>
-#include <machine/bus_pio.h>
#include <machine/bus.h>
#include <machine/resource.h>
diff --git a/sys/compat/ndis/subr_ntoskrnl.c b/sys/compat/ndis/subr_ntoskrnl.c
index 19f55fc..948f177 100644
--- a/sys/compat/ndis/subr_ntoskrnl.c
+++ b/sys/compat/ndis/subr_ntoskrnl.c
@@ -56,8 +56,6 @@ __FBSDID("$FreeBSD$");
#include <machine/atomic.h>
#include <machine/clock.h>
-#include <machine/bus_memio.h>
-#include <machine/bus_pio.h>
#include <machine/bus.h>
#include <machine/stdarg.h>
OpenPOWER on IntegriCloud