]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit333ea44f4fe30e4df593c45d0aec5e3e5cfa8b82
treeff477c32166e37642cfda3ce80e2a21a7e1e8012
parentee539468053573da1ab1cf1ffe449d92718cad54
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