From: Tejun Heo Date: Mon, 29 Oct 2007 07:41:09 +0000 (+0900) Subject: libata: relocate forcing PIO0 on reset X-Git-Tag: v2.6.24-rc2~99^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdeab1140799f09c5f728a5ff85e0bdfa5679cd2;p=pandora-kernel.git libata: relocate forcing PIO0 on reset Forcing PIO0 on reset was done inside ata_bus_softreset(), which is a bit out of place as it should be applied to all resets - hard, soft and implementation which don't use ata_bus_softreset(). Relocate it such that... * For new EH, it's done in ata_eh_reset() before calling prereset. * For old EH, it's done before calling ap->ops->phy_reset() in ata_bus_probe(). This makes PIO0 forced after all resets. Another difference is that reset itself is done after PIO0 is forced. Signed-off-by: Tejun Heo Acked-by: Alan Cox Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed