mv643xx_eth: move a couple of init actions from ->open() to port probe
authorLennert Buytenhek <buytenh@wantstofly.org>
Tue, 24 Feb 2009 15:41:47 +0000 (15:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Feb 2009 07:17:22 +0000 (23:17 -0800)
commita5fe36165339c57b341250e8252d833e91317c70
treee01d153816170118060bb7cda6bf795b2d55ba87
parentea8a8642636b905c79aed104a0755b3fa2e65e8e
mv643xx_eth: move a couple of init actions from ->open() to port probe

Move the netif_carrier_off() call in ->open() to port probe, so that
ethtool doesn't report the link as being up before we have up'd the
interface.

Move initialisation of the rx/tx coalescing timers from ->open() to
port probe, so that we don't reset the coalescing timers every time
the interface is up'd.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mv643xx_eth.c