summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-03-15 06:44:45 +0000
committerimp <imp@FreeBSD.org>2008-03-15 06:44:45 +0000
commitbe829c21fb7329f289c63583b58ae9b5e00c60ba (patch)
treef274eded3d5f836aa7f405064e604c0c1781a550
parentbce66ba5f462c9a1442d898e9dd2f4b250d4d039 (diff)
downloadFreeBSD-src-be829c21fb7329f289c63583b58ae9b5e00c60ba.zip
FreeBSD-src-be829c21fb7329f289c63583b58ae9b5e00c60ba.tar.gz
BUS_DMA_ISA is left over from Alpha, and is not used in the tree at
all. The reference in ia64 code is due to cutNpaste in its history and can safely be removed. Revired by: cognet, raj, marcel, jhb and maybe one other whom I'm forgetting
-rw-r--r--sys/ia64/isa/isa_dma.c2
-rw-r--r--sys/sys/bus_dma.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/ia64/isa/isa_dma.c b/sys/ia64/isa/isa_dma.c
index 0f4fddb8..1b093e5 100644
--- a/sys/ia64/isa/isa_dma.c
+++ b/sys/ia64/isa/isa_dma.c
@@ -106,7 +106,7 @@ isa_dma_init(int chan, u_int bouncebufsize, int flag __unused)
/*filter*/NULL, /*filterarg*/NULL,
/*maxsize*/bouncebufsize,
/*nsegments*/1, /*maxsegz*/0x3ffff,
- /*flags*/BUS_DMA_ISA,
+ /*flags*/0,
/*lockfunc*/busdma_lock_mutex,
/*lockarg*/&Giant,
&dma_tag[chan]) != 0) {
diff --git a/sys/sys/bus_dma.h b/sys/sys/bus_dma.h
index cc790ff..f89d522 100644
--- a/sys/sys/bus_dma.h
+++ b/sys/sys/bus_dma.h
@@ -101,7 +101,6 @@
*/
#define BUS_DMA_NOWRITE 0x100
#define BUS_DMA_NOCACHE 0x200
-#define BUS_DMA_ISA 0x400 /* map memory for AXP ISA dma */
/* Forwards needed by prototypes below. */
struct mbuf;
OpenPOWER on IntegriCloud