OSDN Git Service

qed: Print multi-bit attentions properly
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Mon, 29 May 2017 06:53:12 +0000 (09:53 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 May 2017 16:07:03 +0000 (12:07 -0400)
commit6010179da3a27f4622eb40a731337fbdb8bbc713
treecba1787554ffa0bba9c1d17236342ace37c2ae34
parentba36f718c7fedbf0b083faec5e3606d98b846cb7
qed: Print multi-bit attentions properly

In strucuture reflecting the AEU hw block some entries
represent multiple HW bits, and the associated name is in fact
a pattern.
Today, whenever such an attention would be asserted the resulted
prints would show the pattern string instead of indicating which
of the possible bits was set.

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