bnx2x: Fix link problems for 1G SFP RJ45 module
authorYaniv Rosner <Yaniv.Rosner@qlogic.com>
Thu, 4 Sep 2014 10:26:00 +0000 (13:26 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Sep 2014 00:28:37 +0000 (17:28 -0700)
commit6e9e5644378bdeebe09db9181534a03361701f4e
treeff477c32166e37642cfda3ce80e2a21a7e1e8012
parent98ea232cf63961fad734cc8c5e07e8915ec73073
bnx2x: Fix link problems for 1G SFP RJ45 module

When 1G SFP RJ45 module is detected, driver must reset the Tx laser
in order to prevent link issues. As part of change, the link_attr_sync
was relocated from vars to params.

Signed-off-by: Yaniv Rosner <Yaniv.Rosner@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h