]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r219336
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 23 Mar 2011 20:56:56 +0000 (20:56 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 23 Mar 2011 20:56:56 +0000 (20:56 +0000)
commit852d4075bbec590d084455d4fbc5b931b72814e4
tree94e24af20b56fa90637ec1eb5cf667c36ab49656
parentd22ab938420fd1904cf293ad8fcfbd6c039cbf5b
MFC: r219336

- Allocate the DMA memory used for the work area as coherent as at least
  the ataahci(4) and atamarvell(4) drivers share it between the host and
  the controller.
- Spell some zeros as BUS_DMA_WAITOK when used as bus_dmamem_alloc() flags.

git-svn-id: svn://svn.freebsd.org/base/stable/8@219932 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/ata/ata-dma.c