Factor out bus_dmamem_coherent() to allocate busdma memory.
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 17 Jan 2009 08:19:09 +0000 (16:19 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 17 Feb 2009 10:35:08 +0000 (18:35 +0800)
commit0336fbc8187384b36e16e178e2bc9956c80d9e6b
tree1a5c2a7846c115d156b651c12903e93a0cb19b90
parentb77f5f80d15dc7078037f892777955cc2e8286d2
Factor out bus_dmamem_coherent() to allocate busdma memory.
Mainly to avoid code duplication in various drivers.
sys/conf/files
sys/dev/netif/re/if_re.c
sys/kern/subr_busdma.c [new file with mode: 0644]
sys/sys/bus_dma.h