]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:23:29 +0000 (15:23 +0800)
commit52733fa7332e8f8230e669c198965cdc3eba42b6
tree865409b3042de568028a8ffbd3677cab3438e568
parent4f6c80c2342b3a69a187c477176e16f550be1b36
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.

(cherry picked from commit 59a2e53b826103be8c22d9820355320b749b38ef)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/bnx2x/bnx2x_link.c