summaryrefslogtreecommitdiffstats
path: root/sys/sys/bus_dma.h
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>2000-03-29 03:15:22 +0000
committerkato <kato@FreeBSD.org>2000-03-29 03:15:22 +0000
commit7af5f89a60b2c01199275c6b9d0271c6bf342100 (patch)
tree5dc25460c10069bc1ccdfe095d12f26393bd7444 /sys/sys/bus_dma.h
parentbeae0af3f39d85f6aa06dc4e1d97ef7170c32883 (diff)
downloadFreeBSD-src-7af5f89a60b2c01199275c6b9d0271c6bf342100.zip
FreeBSD-src-7af5f89a60b2c01199275c6b9d0271c6bf342100.tar.gz
Added indirect pio into the bus space stuff for the NEC PC-98. bus.h
includes one of bus_at386.h and bus_pc98.h. Becuase only bus_pc98.h supports indirect pio and bus_at386.h is identical to old bus.h, there is no functional change in PC-AT's kernels. That is, it cannot cause performance loss. Submitted by: nyan Reviewed by: imp bde and luoqi provided useful comments for earlier version.
Diffstat (limited to 'sys/sys/bus_dma.h')
-rw-r--r--sys/sys/bus_dma.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/bus_dma.h b/sys/sys/bus_dma.h
index 6617612..2dc6ecb 100644
--- a/sys/sys/bus_dma.h
+++ b/sys/sys/bus_dma.h
@@ -69,8 +69,8 @@
*/
/* $FreeBSD$ */
-#ifndef _I386_BUS_H_
-#define _I386_BUS_H_
+#ifndef _I386_BUS_AT386_H_
+#define _I386_BUS_AT386_H_
#include <machine/cpufunc.h>
@@ -1288,4 +1288,4 @@ void _bus_dmamap_unload(bus_dma_tag_t dmat, bus_dmamap_t map);
if ((dmamap) != NULL) \
_bus_dmamap_unload(dmat, dmamap)
-#endif /* _I386_BUS_H_ */
+#endif /* _I386_BUS_AT386_H_ */
OpenPOWER on IntegriCloud