tg3: Set initial carrier state to off.
authorMichael Chan <mchan@broadcom.com>
Thu, 14 Feb 2013 12:13:41 +0000 (12:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Feb 2013 19:02:59 +0000 (14:02 -0500)
commit402e1398a398009d82731ec433220e172be4c7af
tree80df6fbd8de7bf37519cafb87a955127f554c09e
parentc5d0b72e641340c5dc915cdfab5e2c55d81425c2
tg3: Set initial carrier state to off.

Before the device is opened, the carrier state should be off.  It
will not race with the link interrupt if we set it before calling
register_netdev().

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c