bnx2x: Clear latch indication on link reset
authorYaniv Rosner <yaniv.rosner@broadcom.com>
Mon, 1 Nov 2010 05:32:34 +0000 (05:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Nov 2010 13:21:37 +0000 (06:21 -0700)
commitcf1d972cb6393b9b042289739111773226861d6c
treeb6022e11a005e470815a61473d2a194724ddf299
parent6a71bbe04c9ee9a6e892e584a09615c1dbf35edc
bnx2x: Clear latch indication on link reset

When using latch indication for link change notification, need to
clear it when port is unloaded, otherwise it might generate false
indication on next load.

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_link.c