ioat: fix self test interrupts
authorDan Williams <dan.j.williams@intel.com>
Tue, 28 Jul 2009 21:44:05 +0000 (14:44 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 9 Sep 2009 00:29:55 +0000 (17:29 -0700)
commita6a39ca1badbeafc16941fcf2c1010c8c65c8ddc
tree1f6e4bf5e5ab831ce9cb6de645a1f03545c8cf0a
parenta0587bcf3e64029a4da2a5666cad18df38db0d56
ioat: fix self test interrupts

If a callback is to be attached to a descriptor the channel needs to
know at ->prep time so it can set the interrupt enable bit.  This is in
preparation for moving descriptor ioat2 descriptor preparation from
->submit to ->prep.

Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat/dma.c