]> 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)
commit27d077f98df73e1e7d703c329edab11f28f516a9
treef9cc43c9405034cd80d01b7beb82905b189f659c
parent5ea28f12ef9450025f5392e7b0bca6541f77e0fd
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