bnx2x: Common init will be executed only once after POR
authorYaniv Rosner <yanivr@broadcom.com>
Tue, 18 Jan 2011 04:33:24 +0000 (04:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jan 2011 00:10:36 +0000 (16:10 -0800)
commitb21a3424877a4d5ca91a6d446ed581a2bd03160c
tree6d6f54d787a2bb3c84184f60bce59d33ed2ad901
parent74d7a11979e39adc1fc4d7a77afe83aa12a0f2b1
bnx2x: Common init will be executed only once after POR

Common init used to be called by the driver when the first port comes up, mainly to reset and reload external PHY microcode.
However, in case management driver is active on the other port, traffic would halted. So limit the common init to be done only once after POR.

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_link.c