diff options
author | Tejun Heo <tj@kernel.org> | 2008-10-22 00:31:34 +0900 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-10-22 20:42:43 -0400 |
commit | 816ab89782ac139a8b65147cca990822bb7e8675 (patch) | |
tree | 066f5e76a52f2cc5b6ad23c2606911dbe3af4921 /drivers/oprofile | |
parent | a568d1d2e2aff4f114b087c06bfd350e945ad6cf (diff) | |
download | op-kernel-dev-816ab89782ac139a8b65147cca990822bb7e8675.zip op-kernel-dev-816ab89782ac139a8b65147cca990822bb7e8675.tar.gz |
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 <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/oprofile')
0 files changed, 0 insertions, 0 deletions