linux/drivers/dma/ioat
Dan Williams 77867fff03 ioat: fix type mismatch for ->dmacount
->dmacount tracks the sequence number of active descriptors.  It is
written to the DMACOUNT register to update the channel's view of pending
descriptors in the chain.  The register is 16-bits so ->dmacount should
be unsigned and 16-bit as well.  Also modify ->desccount to maintain
alignment.

This was never a problem in practice because we never compared dmacount
values, but this is a bug waiting to happen.

Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-09-08 17:29:54 -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 ioat: split ioat_dma_probe into core/version-specific routines 2009-09-08 17:29:54 -07:00
dma.h ioat: fix type mismatch for ->dmacount 2009-09-08 17:29:54 -07:00
hw.h ioat: convert ioat_probe to pcim/devm 2009-09-08 17:29:44 -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