linux-sg2042/drivers/dma/ioat
Dan Williams a0587bcf3e ioat1: move descriptor allocation from submit to prep
The async_tx api assumes that after a successful ->prep a subsequent
->submit will not fail due to a lack of resources.

This also fixes a bug in the allocation failure case.  Previously the
descriptors allocated prior to the allocation failure would not be
returned to the free list.

Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-09-08 17:29:55 -07:00
..
Makefile ioat: move to drivers/dma/ioat/ 2009-07-28 14:32:12 -07:00
dca.c ioat: move to drivers/dma/ioat/ 2009-07-28 14:32:12 -07:00
dma.c ioat1: move descriptor allocation from submit to prep 2009-09-08 17:29:55 -07:00
dma.h ioat: fix type mismatch for ->dmacount 2009-09-08 17:29:54 -07:00
hw.h ioat: define descriptor control bit-field 2009-09-08 17:29:55 -07:00
pci.c ioat: split ioat_dma_probe into core/version-specific routines 2009-09-08 17:29:54 -07:00
registers.h ioat: move to drivers/dma/ioat/ 2009-07-28 14:32:12 -07:00