bnx2x: Fix PHY locking problem
authorYaniv Rosner <yanivr@broadcom.com>
Mon, 16 Aug 2010 06:34:06 +0000 (06:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 06:42:35 +0000 (23:42 -0700)
commit3971a230f9573cca1cbef96dab05e2682820f1a0
tree8c99ef6f69827b92fc14d95548ea36115cab90a6
parentf037590fff3005ce8a1513858d7d44f50053cc8f
bnx2x: Fix PHY locking problem

PHY locking is required between two ports for some external PHYs. Since
initialization was done in the common init function (called only on the
first port initialization) rather than in the port init function, there
was in fact no PHY locking between the ports.

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/bnx2x/bnx2x_main.c