libata: Add helper to determine when PHY events should be ignored
authorGabriele Mazzotta <gabriele.mzt@gmail.com>
Sat, 25 Apr 2015 17:52:36 +0000 (19:52 +0200)
committerTejun Heo <tj@kernel.org>
Sat, 25 Apr 2015 20:50:14 +0000 (16:50 -0400)
commit8393b811f38acdf7fd8da2028708edad3e68ce1f
tree416d3ec188647783e4364f162a793ef3369aabc0
parente0e2674b92056c24c69940d5f405ea4aef5e4010
libata: Add helper to determine when PHY events should be ignored

This is a preparation commit that will allow to add other criteria
according to which PHY events should be dropped.

Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: stable@vger.kernel.org
drivers/ata/libahci.c
drivers/ata/libata-core.c
include/linux/libata.h