bgmac: start/stop PHY on netdev open/stop
authorRafał Miłecki <zajec5@gmail.com>
Tue, 10 Dec 2013 16:19:39 +0000 (17:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Dec 2013 23:09:12 +0000 (18:09 -0500)
commit4e34da4d4252f93a7bc66017a7577afb03c3cb8e
tree8c523e0ad424fd2612595abbbdb3e1c41baed232
parent77d47afbf3c58350c3708b609005358bbd33e085
bgmac: start/stop PHY on netdev open/stop

I've realized that I need to call ethtool command to get Ethernet
working after booting. Ex call: ethtool -s eth0 autoneg on
It was fixing Ethernet even if auto-negotiation was already on.

Adding calls to phy_start and phy_stop look like a real solution.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c