From be829c21fb7329f289c63583b58ae9b5e00c60ba Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 15 Mar 2008 06:44:45 +0000 Subject: [PATCH] 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 --- sys/ia64/isa/isa_dma.c | 2 +- sys/sys/bus_dma.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/ia64/isa/isa_dma.c b/sys/ia64/isa/isa_dma.c index 0f4fddb8eef8..1b093e57fe14 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 cc790ff1e750..f89d5225399b 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;