]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: prevent masked MCP parities from appearing
authorYuval Mintz <yuvalmin@broadcom.com>
Mon, 23 Sep 2013 07:12:54 +0000 (10:12 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Sep 2013 20:17:05 +0000 (16:17 -0400)
commitfadcd8ff5dabc099dddd298d9ac1c2b4bebcb270
tree825a2c634b532e3c0dbed5c66c810c9bbd7d4f22
parent5cf80d9293746a34b06a2abdce82fe9627c058fd
bnx2x: prevent masked MCP parities from appearing

During flows which mask block attentions (e.g., register dump) all parities
are masked. However, unlike other blocks the MCP's attention is not masked
inside the block but rather the indication to the driver. If another attention
(e.g., link change) will occour while there's an MCP parity, the driver will
ignore the fact that the parity is masked and erroneously report a parity.

This patch forces the driver to read the MCP masking while checking for
parities.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c