]> git.karo-electronics.de Git - linux-beck.git/commit
libata: skip suppress reporting if ATA_EHI_QUIET
authorTejun Heo <htejun@gmail.com>
Tue, 9 Oct 2007 05:57:56 +0000 (14:57 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:46 +0000 (14:55 -0400)
commit94ff3d54080975686a3c41e73b8926030ee0c31f
tree07bc1b90166697c4783fbe5fbbc5f56b37448ddf
parentabf6e8ed07213bdd9734be2e42639b79310bd81c
libata: skip suppress reporting if ATA_EHI_QUIET

ATA_EHI_NO_AUTOPSY and ATA_EHI_QUIET are used during initial probing
to skip exception analysis and reporting.  Usually, there's nothing to
report but on some allowed but rare corner cases (e.g. phy status
changed interrupt when IRQ is enabled on frozen port - this happens if
IRQ pending status isn't cleared in the IRQ router or controller)
exception messages get printed.

Skip reporting if ATA_EHI_QUIET is set.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-eh.c