]> git.baikalelectronics.ru Git - kernel.git/commit
libata: transfer EHI control flags to slave ehc.i
authorTejun Heo <tj@kernel.org>
Tue, 21 Oct 2008 05:26:39 +0000 (14:26 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 23 Oct 2008 00:40:19 +0000 (20:40 -0400)
commit97fde64c7a4001bdf75fde19d3abeecd00fd6a58
tree90c5ea1ff1b016f72888641f96f014336e969434
parent76e443b713620ec917f71aecf86196e6aa5d8d09
libata: transfer EHI control flags to slave ehc.i

ATA_EHI_NO_AUTOPSY and ATA_EHI_QUIET are used to control the behavior
of EH.  As only the master link is visible outside EH, these flags are
set only for the master link although they should also apply to the
slave link, which causes spurious EH messages during probe and
suspend/resume.

This patch transfers those two flags to slave ehc.i before performing
slave autopsy and reporting.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-eh.c
include/linux/libata.h