summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/bus_dma.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/arch/amd64/amd64/bus_dma.c b/sys/arch/amd64/amd64/bus_dma.c
index 9ecb23bdee1..b7b7e7f3860 100644
--- a/sys/arch/amd64/amd64/bus_dma.c
+++ b/sys/arch/amd64/amd64/bus_dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus_dma.c,v 1.47 2015/01/24 15:13:55 kettenis Exp $ */
+/* $OpenBSD: bus_dma.c,v 1.48 2015/01/27 05:10:30 dlg Exp $ */
/* $NetBSD: bus_dma.c,v 1.3 2003/05/07 21:33:58 fvdl Exp $ */
/*-
@@ -95,25 +95,11 @@
#include <machine/bus.h>
-#include <dev/isa/isareg.h>
-#include <dev/isa/isavar.h>
-
#include <uvm/uvm_extern.h>
-#include "ioapic.h"
-
-#if NIOAPIC > 0
-#include <machine/i82093var.h>
-#include <machine/mpbiosvar.h>
-#endif
-
int _bus_dmamap_load_buffer(bus_dma_tag_t, bus_dmamap_t, void *, bus_size_t,
struct proc *, int, paddr_t *, int *, int);
-#define IDTVEC(name) __CONCAT(X,name)
-typedef void (vector)(void);
-extern vector *IDTVEC(intr)[];
-
/*
* Common function for DMA map creation. May be called by bus-specific
* DMA map creation functions.