Jeremy Linton aea95dd52d net: smsc911x: Fix register_netdev, phy startup, driver unload ordering
Move phy startup/shutdown into the smsc911x_open/stop routines. This
allows the module to be unloaded because phy_connect_direct is no longer
always holding the module use count. This one change also resolves a
number of other problems.

The link status of a downed interface no longer reflects a stale state.
Errors caused by the net device being opened before the mdio/phy was
configured. There is also a potential power savings as the phy's don't
remain powered when the interface isn't running.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-02 17:28:33 -07:00
..
2016-08-09 14:57:14 -07:00
2016-08-06 09:20:13 -04:00
2016-06-15 22:06:06 -07:00
2016-08-25 16:53:47 -07:00
2016-08-29 21:39:04 +03:00
2016-05-09 00:00:28 -04:00
2016-08-23 23:09:27 -07:00
2016-07-19 19:25:43 -07:00