]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Clean previous IGU status before ack
authorYuval Mintz <yuvalmin@broadcom.com>
Mon, 14 Jan 2013 05:11:48 +0000 (05:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Jan 2013 20:07:59 +0000 (15:07 -0500)
commit4f165104c4f6afef846150752e126098c4b61da3
tree02e0b1f887597b64d5e3a5abc6289b9196050f36
parent8ffa5a1e9fcea92ed1f331721ab2d267eb4cea37
bnx2x: Clean previous IGU status before ack

When enabling interrupts, acknowledge the interrupt only
after configuring the IGU to the correct interrupt mode
(otherwise it would dirty selftests)

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_cmn.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c