summaryrefslogtreecommitdiff
path: root/sys/arch/i386/eisa/eisa_machdep.c
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-12-03 15:46:08 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-12-03 15:46:08 +0000
commiteed4923e178ed7783b0dac916688e40dce6372cb (patch)
tree7763d5d2b02b9bbb4e82cd54fdc2d9052c4d6cfc /sys/arch/i386/eisa/eisa_machdep.c
parente5cb898edd1b10cebb2a4a4531325af2b64c6114 (diff)
Remove the x86 and i386 prefixes to the bus_dma types. It's really quite
pointless and just makes the code different for no reason. This moves i386 and amd64 bus_dma to being a lot closer to identical. suggestion to just remove the prefix instead of merge them from deraadt@. no objections art@, kettenis@, ok weingart@
Diffstat (limited to 'sys/arch/i386/eisa/eisa_machdep.c')
-rw-r--r--sys/arch/i386/eisa/eisa_machdep.c6
1 files changed, 3 insertions, 3 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,