bnx2x: Fix potential link loss in multi-function mode
authorYaniv Rosner <yanivr@broadcom.com>
Sun, 30 Jan 2011 04:15:07 +0000 (04:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Jan 2011 06:26:16 +0000 (22:26 -0800)
commit5866df6d07cf22749557a0804253c8fee9e87f06
tree647862a41ff9006d4423ad0f697eedf3a574cbe3
parentc8e64df48a814be1e7066f07b4f709ff63727abf
bnx2x: Fix potential link loss in multi-function mode

All functions on a port should be set to take the MDC/MDIO lock to avoid contention on the bus

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