bnx2x: Fix potential link loss in multi-function mode
authorYaniv Rosner <[email protected]>
Sun, 30 Jan 2011 04:15:07 +0000 (04:15 +0000)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Signed-off-by: Eilon Greenstein <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/bnx2x/bnx2x_main.c