summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci/pci_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/pci/pci_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/pci/pci_machdep.c')
-rw-r--r--sys/arch/i386/pci/pci_machdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/pci/pci_machdep.c b/sys/arch/i386/pci/pci_machdep.c
index 0e98f61cb0b..0a0e3f84a0b 100644
--- a/sys/arch/i386/pci/pci_machdep.c
+++ b/sys/arch/i386/pci/pci_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.c,v 1.40 2008/06/26 05:42:11 ray Exp $ */
+/* $OpenBSD: pci_machdep.c,v 1.41 2008/12/03 15:46:07 oga Exp $ */
/* $NetBSD: pci_machdep.c,v 1.28 1997/06/06 23:29:17 thorpej Exp $ */
/*-
@@ -82,7 +82,7 @@
#include <uvm/uvm_extern.h>
-#define _I386_BUS_DMA_PRIVATE
+#define _BUS_DMA_PRIVATE
#include <machine/bus.h>
#include <machine/pio.h>
#include <machine/i8259.h>
@@ -145,7 +145,7 @@ struct {
* PCI doesn't have any special needs; just use the generic versions
* of these functions.
*/
-struct i386_bus_dma_tag pci_bus_dma_tag = {
+struct bus_dma_tag pci_bus_dma_tag = {
NULL, /* _cookie */
_bus_dmamap_create,
_bus_dmamap_destroy,