qed: Add support for HW attentions
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Sun, 28 Feb 2016 10:26:53 +0000 (12:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 22:39:50 +0000 (17:39 -0500)
commit0d956e8a65d53e0d1a71d28975c821cf0f6ba676
tree9e8d7bde6f8f4954e8f165479c233bd268f930be
parent4ac801b77e6f06e6b12c069fd29216a4102065fb
qed: Add support for HW attentions

HW is capable of generating attentnions for a multitude of reasons,
but current driver is enabling attention generation only for management
firmware [required for link notifications].

This patch enables almost all of the possible reasons for HW attentions,
logging the HW block generating the attention and preventing further
attentions from that source [to prevent possible attention flood].
It also lays the infrastructure for additional exploration of the various
attentions.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_int.c
drivers/net/ethernet/qlogic/qed/qed_reg_addr.h