From: Tejun Heo Date: Mon, 3 Nov 2008 10:01:09 +0000 (+0900) Subject: libata: implement ATA_HORKAGE_ATAPI_MOD16_DMA and apply it X-Git-Tag: v2.6.28-rc4~87^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a87e42e955ff27e07a77f65f8f077dc7c4171e1;p=pandora-kernel.git libata: implement ATA_HORKAGE_ATAPI_MOD16_DMA and apply it libata always uses PIO for ATAPI commands when the number of bytes to transfer isn't multiple of 16 but quantum DAT72 chokes on odd bytes PIO transfers. Implement a horkage to skip the mod16 check and apply it to the quantum device. This is reported by John Clark in the following thread. http://thread.gmane.org/gmane.linux.ide/34748 Signed-off-by: Tejun Heo Cc: John Clark Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed