summaryrefslogtreecommitdiff
path: root/sys/arch/i386/eisa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/eisa')
-rw-r--r--sys/arch/i386/eisa/eisa_machdep.c6
-rw-r--r--sys/arch/i386/eisa/eisa_machdep.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/i386/eisa/eisa_machdep.c b/sys/arch/i386/eisa/eisa_machdep.c
index 8bd310840cd..ebe6c98f6c6 100644
--- a/sys/arch/i386/eisa/eisa_machdep.c
+++ b/sys/arch/i386/eisa/eisa_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eisa_machdep.c,v 1.11 2008/06/26 05:42:10 ray Exp $ */
+/* $OpenBSD: eisa_machdep.c,v 1.12 2008/12/03 15:46:06 oga Exp $ */
/* $NetBSD: eisa_machdep.c,v 1.10.22.2 2000/06/25 19:36:58 sommerfeld Exp $ */
/*-
@@ -72,7 +72,7 @@
#include <sys/errno.h>
#include <sys/device.h>
-#define _I386_BUS_DMA_PRIVATE
+#define _BUS_DMA_PRIVATE
#include <machine/bus.h>
#include <machine/i8259.h>
@@ -83,7 +83,7 @@
* EISA doesn't have any special needs; just use the generic versions
* of these funcions.
*/
-struct i386_bus_dma_tag eisa_bus_dma_tag = {
+struct bus_dma_tag eisa_bus_dma_tag = {
NULL, /* _cookie */
_bus_dmamap_create,
_bus_dmamap_destroy,
diff --git a/sys/arch/i386/eisa/eisa_machdep.h b/sys/arch/i386/eisa/eisa_machdep.h
index fccdd343245..d8004a3a854 100644
--- a/sys/arch/i386/eisa/eisa_machdep.h
+++ b/sys/arch/i386/eisa/eisa_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: eisa_machdep.h,v 1.6 2004/06/13 21:49:15 niklas Exp $ */
+/* $OpenBSD: eisa_machdep.h,v 1.7 2008/12/03 15:46:06 oga Exp $ */
/* $NetBSD: eisa_machdep.h,v 1.4 1997/06/06 23:12:52 thorpej Exp $ */
/*
@@ -43,7 +43,7 @@
#define EISA_ID_LEN (sizeof(EISA_ID) - 1)
#define EISA_ID_PADDR 0xfffd9
-extern struct i386_bus_dma_tag eisa_bus_dma_tag;
+extern struct bus_dma_tag eisa_bus_dma_tag;
#define ELCR0 0x4d0 /* eisa irq 0-7 */
#define ELCR1 0x4d1 /* eisa irq 8-15 */