]> git.baikalelectronics.ru Git - 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)
commit7874c79eba43c269fe44903d645127d4f12eff8b
treef9cc43c9405034cd80d01b7beb82905b189f659c
parent77fc33f6859844d3511b9c908ee01508e2ec823f
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