]> git.baikalelectronics.ru Git - kernel.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)
commit3c29be090f2d0821454fa95a65942408da964ec2
tree46756f2c624172fca7a44b0dddce433f18fa9733
parentbb7be07dce4a4d01e03523e70ea70392f833c9a1
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