From: Tejun Heo Date: Tue, 21 Oct 2008 15:31:34 +0000 (+0900) Subject: libata: set device class to NONE if phys_offline X-Git-Tag: v2.6.28-rc1~62^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=816ab89782ac139a8b65147cca990822bb7e8675;p=pandora-kernel.git libata: set device class to NONE if phys_offline Reset methods don't have access to phys link status for slave links and may incorrectly indicate device presence causing unnecessary probe failures for unoccupied links. This patch clears device class to NONE during post-reset processing if phys link is offline. As on/offlineness semantics is strictly defined and used in multiple places by the core layer, this won't change behavior for drivers which don't use slave links. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed