diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-03-10 15:03:18 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-03-10 15:03:18 +0000 |
commit | 74bf55af09e87235f63d504f70036233bbc2a632 (patch) | |
tree | e94f6a6ca0027f399ce3c30ca84a6b46933ffbad /sys/arch/amd64/include | |
parent | b4838ee1817939fdb2ae083508222fdaf40d6382 (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/include')
-rw-r--r-- | sys/arch/amd64/include/bus.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/amd64/include/bus.h b/sys/arch/amd64/include/bus.h index e2fa9ec1fbf..8217a265614 100644 --- a/sys/arch/amd64/include/bus.h +++ b/sys/arch/amd64/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.14 2009/02/05 01:15:20 oga Exp $ */ +/* $OpenBSD: bus.h,v 1.15 2009/03/10 15:03:16 oga Exp $ */ /* $NetBSD: bus.h,v 1.6 1996/11/10 03:19:25 thorpej Exp $ */ /*- @@ -571,7 +571,6 @@ struct bus_dmamap { bus_dma_segment_t dm_segs[1]; /* segments; variable length */ }; -#ifdef _BUS_DMA_PRIVATE int _bus_dmamap_create(bus_dma_tag_t, bus_size_t, int, bus_size_t, bus_size_t, int, bus_dmamap_t *); void _bus_dmamap_destroy(bus_dma_tag_t, bus_dmamap_t); @@ -612,8 +611,5 @@ int _bus_dmamem_alloc_range(bus_dma_tag_t tag, bus_size_t size, */ paddr_t bus_space_mmap(bus_space_tag_t, bus_addr_t, off_t, int, int); - - -#endif /* _BUS_DMA_PRIVATE */ #endif /* _X86_BUS_H_ */ |