net/macb: manage carrier state with call to netif_carrier_{on|off}()
authorNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 3 Jul 2012 23:14:13 +0000 (23:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jul 2012 07:03:06 +0000 (00:03 -0700)
commit03fc4721cd96753696a988a2ba563f9f08ad4e9f
treee02851168b70a9fa22d7bc9186688387031a3028
parented1062772531b6e1029fa4ca62dc8d61f6d53d1c
net/macb: manage carrier state with call to netif_carrier_{on|off}()

OFF carrier state is setup in probe() open() and suspend() functions.
The carrier ON state is managed in macb_handle_link_change().

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c