net: phy: smsc: force all capable mode if the phy is started in powerdown mode
authortrem <tremyfr@yahoo.fr>
Tue, 4 Dec 2012 08:52:10 +0000 (08:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2012 17:48:00 +0000 (12:48 -0500)
commit6ded7cd605502eff7341bbd912ebc90c3674c764
tree70a120c195ffe3e61900de404b54b8a53756030e
parent4bd9b0fffb193d2e288f67f81821af32df8d4349
net: phy: smsc: force all capable mode if the phy is started in powerdown mode

A SMSC PHY in power down mode can't be used.
If a SMSC PHY is in this mode in the config_init
stage, the mode "all capable" is set. So the PHY
could then be used.

Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/smsc.c
include/linux/smscphy.h