skge: don't assert carrier until link is up
authorstephen hemminger <shemminger@vyatta.com>
Thu, 19 Jan 2012 14:35:25 +0000 (14:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jan 2012 20:08:44 +0000 (15:08 -0500)
commit19f9ad789396fe5b4fe0302344b3acfa07cb6772
tree340a59ed2cc38190e4a0f18acf6e32b10bdd1785
parenta42b4799c683723e8c464de4026af085b2ebd5fa
skge: don't assert carrier until link is up

Skge device would assert carrier (link up) as soon as network device open
was called, rather than waiting until PHY has detected link.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/skge.c