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)
commitebe61d80b42662a1cf8d24e0b8605aa16fa6e4d0
tree02e0b1f887597b64d5e3a5abc6289b9196050f36
parent823e1d90797552687d2dfab2299464e5b663a8a9
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