]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bnx2x: Fix link issue for BCM8727 boards.
authorYaniv Rosner <yanivr@broadcom.com>
Wed, 4 Apr 2012 01:28:59 +0000 (01:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Apr 2012 22:24:23 +0000 (18:24 -0400)
commit59a2e53b826103be8c22d9820355320b749b38ef
treef9cc43c9405034cd80d01b7beb82905b189f659c
parent9379c9be4b20d5cb7bde577f402b749cd7d3caa2
bnx2x: Fix link issue for BCM8727 boards.

This patch fixes a link problem on BCM57712 + BCM8727 designs in which the TX
laser is controller by GPIO, after 1.60.xx drivers were previously loaded.
On these designs the TX_LASER is enabled by logic AND between the PHY
(through MDIO), and the GPIO. When an old driver is used, it disables the
MDIO part, hence the GPIO control had no affect de facto.

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/ethernet/broadcom/bnx2x/bnx2x_link.c