From: Tejun Heo Date: Wed, 30 Apr 2008 07:35:14 +0000 (+0900) Subject: sata_inic162x: use IDMA for ATAPI commands X-Git-Tag: v2.6.26-rc2~59^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3f677e501a494aa1582d4ff35fb3ac6f0a59b08;p=pandora-kernel.git sata_inic162x: use IDMA for ATAPI commands Use IDMA for ATAPI commands. Write and some misc commands time out when executed using ATAPI_PROT_DMA but ATAPI_PROT_PIO works fine. As PIO is driven by DMA too, it doesn't make any noticeable difference for native SATA devices. inic_check_atapi_dma() is implemented to force PIO for those ATAPI commands. After this change, sata_inic162x issues all commands using IDMA. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed