]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ioat: fix xor_idx_to_desc
authorDan Williams <dan.j.williams@intel.com>
Fri, 22 Jul 2011 21:20:46 +0000 (14:20 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 4 Aug 2011 05:25:06 +0000 (22:25 -0700)
commitd0b0c8c79b26a1f48e1e92a2c073655159e72b7c
tree46756f2c624172fca7a44b0dddce433f18fa9733
parent9b487ced8a903f1028fcfaef1e6406acc91fe0fa
ioat: fix xor_idx_to_desc

For versions of the device that implement operation-types 0x87, 0x88
(IOAT_OP_XOR, IOAT_OP_XOR_VAL) this map determines whether a given
source is located in the base or extended descriptor.  Source addresses
6 through 8 require an extended descriptor, hence 0xe0, not 0xd0.  No
shipping hardware currently implements these operation types.

Reported-by: Evgueni Smogailov <evgueni.smogailov@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat/dma_v3.c