diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-04-10 18:22:09 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-04-10 18:22:09 +0000 |
commit | 3e5054ae1cb61b5a4d983f747d370556cd2de676 (patch) | |
tree | 27646b37263cf1f66c6aeead427054a79bc108c1 /sys/arch/arm | |
parent | 3e6a7271542294e4bb0e9545f01a7f685f33de5f (diff) |
Remove ARM32_BUFTYPE_RAW, it's never used.
Diffstat (limited to 'sys/arch/arm')
-rw-r--r-- | sys/arch/arm/arm/bus_dma.c | 8 | ||||
-rw-r--r-- | sys/arch/arm/include/bus.h | 3 |
2 files changed, 3 insertions, 8 deletions
diff --git a/sys/arch/arm/arm/bus_dma.c b/sys/arch/arm/arm/bus_dma.c index 95ee49ffd13..b39db42060f 100644 --- a/sys/arch/arm/arm/bus_dma.c +++ b/sys/arch/arm/arm/bus_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bus_dma.c,v 1.8 2006/07/16 00:18:33 drahn Exp $ */ +/* $OpenBSD: bus_dma.c,v 1.9 2007/04/10 18:22:07 miod Exp $ */ /* $NetBSD: bus_dma.c,v 1.38 2003/10/30 08:44:13 scw Exp $ */ /*- @@ -595,10 +595,6 @@ _bus_dmamap_sync(bus_dma_tag_t t, bus_dmamap_t map, bus_addr_t offset, _bus_dmamap_sync_uio(t, map, offset, len, ops); break; - case ARM32_BUFTYPE_RAW: - panic("_bus_dmamap_sync: ARM32_BUFTYPE_RAW"); - break; - case ARM32_BUFTYPE_INVALID: panic("_bus_dmamap_sync: ARM32_BUFTYPE_INVALID"); break; @@ -733,7 +729,7 @@ _bus_dmamem_map(bus_dma_tag_t t, bus_dma_segment_t *segs, int nsegs, * cache then we must make the memory uncacheable * in order to maintain virtual cache coherency. * We must also guarantee the cache does not already - * contain the virtal addresses we are making + * contain the virtual addresses we are making * uncacheable. */ if (flags & BUS_DMA_COHERENT) { diff --git a/sys/arch/arm/include/bus.h b/sys/arch/arm/include/bus.h index 11711199a6a..9febba9d669 100644 --- a/sys/arch/arm/include/bus.h +++ b/sys/arch/arm/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.7 2007/04/10 18:02:46 miod Exp $ */ +/* $OpenBSD: bus.h,v 1.8 2007/04/10 18:22:08 miod Exp $ */ /* $NetBSD: bus.h,v 1.12 2003/10/23 15:03:24 scw Exp $ */ /*- @@ -942,7 +942,6 @@ struct arm32_bus_dmamap { #define ARM32_BUFTYPE_LINEAR 1 #define ARM32_BUFTYPE_MBUF 2 #define ARM32_BUFTYPE_UIO 3 -#define ARM32_BUFTYPE_RAW 4 int arm32_dma_range_intersect(struct arm32_dma_range *, int, paddr_t pa, psize_t size, paddr_t *pap, psize_t *sizep); |