summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/pci
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-03-10 15:03:18 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-03-10 15:03:18 +0000
commit74bf55af09e87235f63d504f70036233bbc2a632 (patch)
treee94f6a6ca0027f399ce3c30ca84a6b46933ffbad /sys/arch/amd64/pci
parentb4838ee1817939fdb2ae083508222fdaf40d6382 (diff)
remove the _BUS_DMA_PRIVATE define from amd64 and i386.
a define needed to get to ``private'' functions that needs to be defined 5 or more times isn't much use and may cause namespace issues anyway. Other archs will probably follow. Discussed in portugal. "Hell yes" weingart@, ok kettenis@, no objections miod@
Diffstat (limited to 'sys/arch/amd64/pci')
-rw-r--r--sys/arch/amd64/pci/iommu.c3
-rw-r--r--sys/arch/amd64/pci/pci_machdep.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/amd64/pci/iommu.c b/sys/arch/amd64/pci/iommu.c
index 1fc6f1828a5..c2082727647 100644
--- a/sys/arch/amd64/pci/iommu.c
+++ b/sys/arch/amd64/pci/iommu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iommu.c,v 1.23 2008/12/03 15:46:06 oga Exp $ */
+/* $OpenBSD: iommu.c,v 1.24 2009/03/10 15:03:17 oga Exp $ */
/*
* Copyright (c) 2005 Jason L. Wright (jason@thought.net)
@@ -38,7 +38,6 @@
#include <uvm/uvm_extern.h>
-#define _BUS_DMA_PRIVATE
#include <machine/bus.h>
#include <machine/pio.h>
diff --git a/sys/arch/amd64/pci/pci_machdep.c b/sys/arch/amd64/pci/pci_machdep.c
index a11c8cd2ebe..5df71ab40c4 100644
--- a/sys/arch/amd64/pci/pci_machdep.c
+++ b/sys/arch/amd64/pci/pci_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.c,v 1.21 2009/01/27 15:33:59 oga Exp $ */
+/* $OpenBSD: pci_machdep.c,v 1.22 2009/03/10 15:03:17 oga Exp $ */
/* $NetBSD: pci_machdep.c,v 1.3 2003/05/07 21:33:58 fvdl Exp $ */
/*-
@@ -83,7 +83,6 @@
#include <uvm/uvm_extern.h>
-#define _BUS_DMA_PRIVATE
#include <machine/bus.h>
#include <machine/pio.h>