bnx2x: Force link UP when the interface is in LOOPBACK mode
authorMahesh Bandewar <maheshb@google.com>
Wed, 30 Jan 2013 07:00:12 +0000 (07:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2013 03:59:25 +0000 (22:59 -0500)
commit7614fe8888840a78ad4730d82adcc679c1af1894
tree7b2a0d001083ab9ff091a44b65a8c19160525ea0
parentdaef2262a730144af851ef352b003ecadbdff005
bnx2x: Force link UP when the interface is in LOOPBACK mode

When the interface does not have carrier but when it's put into
loopback mode (for tests), it does not make sense to not have
the carrier. So force it!

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Acked-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c