Hello, I wrote:
Apparently, 'xcount' being 0 does not mean 0 bytes for TRM290; it
means 4 bytes, judging from the code immediately preceding this
check. So, we must never try
to "split" the PRD for TRM290.
This is probably never hit anyway -- with the DMA buffers aligned to
at least
512 bytes and ATAPI DMA not being used for non block I/O commands...
Signed-off-by: Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx>
Bart, unfortunately, drivers/ide/ide-dma-sff.c has the same mistake
-- you probably forgot to modify the patch splitting it from
ide-dma.c... :-/
Even the one cleaning up ide_build_dmatable() actually...
MBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html