FreeBSD/sys/dev/mxge/if_mxge.c
/* callback to get our DMA address */
callback to get our DMA address
callback to get our DMA address
static void
mxge_dmamap_callback(void *arg, bus_dma_segment_t *segs, int nsegs,
			 int error)
{
	if (error == 0) {
		*(bus_addr_t *) arg = segs->ds_addr;
	}
}
static void mxge_dmamap_callback ( void * arg , bus_dma_segment_t * segs , int nsegs , int error ) { if ( error == 0 ) { * ( bus_addr_t * ) arg = segs -> ds_addr ; } }
callback to get our DMA address
callback to get our DMA address