bnx2x: fix loopback for non 10G link
authorYaniv Rosner <yanivr@broadcom.com>
Sun, 24 Jul 2011 03:53:21 +0000 (03:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Jul 2011 20:11:40 +0000 (13:11 -0700)
commit1cb0c788e03da59f14699530aa031a07a89f0056
tree4e84575a4a0090e7f3a88679e11fdbeb00b0d7bf
parent09b775e7ec08ae92b8d976b7e34ba7f83b904c97
bnx2x: fix loopback for non 10G link

Also fixes minor formatting in that function.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
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