https://github.com/torvalds/linux
Revision 816ab89782ac139a8b65147cca990822bb7e8675 authored by Tejun Heo on 21 October 2008, 15:31:34 UTC, committed by Jeff Garzik on 23 October 2008, 00:42:43 UTC
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>
1 parent a568d1d
History
Tip revision: 816ab89782ac139a8b65147cca990822bb7e8675 authored by Tejun Heo on 21 October 2008, 15:31:34 UTC
libata: set device class to NONE if phys_offline
Tip revision: 816ab89
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.7 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 101.4 KB
Makefile -rw-r--r-- 55.4 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top