Add _bus_dma_phys_to_bus_mem_generic and _bus_dma_bus_mem_to_phys_generic.

This commit is contained in:
matt 2003-10-24 05:01:09 +00:00
parent f6dce1d311
commit c6f98f7a34

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus.h,v 1.5 2003/06/23 20:12:19 aymeric Exp $ */
/* $NetBSD: bus.h,v 1.6 2003/10/24 05:01:09 matt Exp $ */
/*-
* Copyright (c) 1997, 1998, 2000, 2001 The NetBSD Foundation, Inc.
@ -682,6 +682,8 @@ void _bus_dmamem_unmap(bus_dma_tag_t tag, caddr_t kva,
size_t size);
paddr_t _bus_dmamem_mmap(bus_dma_tag_t tag, bus_dma_segment_t *segs,
int nsegs, off_t off, int prot, int flags);
bus_addr_t _bus_dma_phys_to_bus_mem_generic(bus_dma_tag_t, bus_addr_t);
bus_addr_t _bus_dma_bus_mem_to_phys_generic(bus_dma_tag_t, bus_addr_t);
#endif /* _POWERPC_BUS_DMA_PRIVATE */
#endif /* _KERNEL */