From: Tejun Heo Date: Fri, 2 Feb 2007 07:22:30 +0000 (+0900) Subject: libata: improve probe failure handling X-Git-Tag: v2.6.21-rc2~25^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ae72a1e469a3bcfd3c1f77dac62392c489bf9ca;p=pandora-kernel.git libata: improve probe failure handling * Move forcing device to PIO0 on device disable into ata_dev_disable(). This makes both old and new EHs act the same way. * Speed down only PIO mode on probe failure. All commands used during probing are PIO commands. There's no point in speeding down DMA. * Retry at least once after -ENODEV. Some devices report garbled IDENTIFY data after certain events. This shouldn't cause device detach and re-attach. * Rearrange EH failure path for simplicity. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed