net-next: vmxnet3 fixes [3/5] Initialize link state at probe time
authorShreyas Bhatewara <sbhatewara@vmware.com>
Thu, 15 Jul 2010 21:51:14 +0000 (21:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jul 2010 21:48:17 +0000 (14:48 -0700)
commit4a1745fc54e22e9fa928d72f97ee0e91449c9fd0
tree8c8c9c224ea9c4b1b6e9bcc652a9df002cab26d8
parent36227e88c2563de73f748aa7d85fffd7afffc1fb
net-next: vmxnet3 fixes [3/5] Initialize link state at probe time

This change initializes the state of link at the time when driver is
loaded. The ethtool output for 'link detected' and 'link speed'
is thus valid even before the interface is brought up.

Signed-off-by: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vmxnet3/vmxnet3_drv.c