]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ioat: ignore reserved bits for chancnt and xfercap
authorDan Williams <dan.j.williams@intel.com>
Tue, 8 Sep 2009 19:01:14 +0000 (12:01 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 9 Sep 2009 00:30:24 +0000 (17:30 -0700)
commitbb3207863014c7310593146f11fbc6573eab43c8
treed54da64e459d28969cdd9250cadaaa581cbae43d
parent4fb9b9e8d55880523db550043dfb204696dd0422
ioat: ignore reserved bits for chancnt and xfercap

Don't trust that the reserved bits are always zero, also sanity check
the returned value.

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