Module Name: src Committed By: tsutsui Date: Tue Jan 25 12:11:27 UTC 2011
Modified Files: src/sys/arch/sgimips/hpc: hpcdma.c hpcdma.h Log Message: Small bus_dma(9) tweaks: - call bus_dmamap_create(9) after bus_dmamem_alloc(9) and bus_dmamem_map(9) return successfully - no need to use PAGE_SIZE for size of descriptor dmamap - use bus_addr_t to store DMA address - BUS_DMASYNC_PREWRITE is enough for host-to-device only descriptors Tested on R5000 Indy. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/sgimips/hpc/hpcdma.c cvs rdiff -u -r1.8 -r1.9 src/sys/arch/sgimips/hpc/hpcdma.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.