aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>2014-08-15 15:00:38 +0200
committerDavid S. Miller <davem@davemloft.net>2014-08-16 20:15:54 -0700
commit21009686662fd21412ca35def7cb3cc8346e1c3d (patch)
treee1c0877d3158a8d879a0d776b8e7ffdebfc9ddf4 /net/netfilter
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net (diff)
downloadlinux-dev-21009686662fd21412ca35def7cb3cc8346e1c3d.tar.xz
linux-dev-21009686662fd21412ca35def7cb3cc8346e1c3d.zip
net: phy: smsc: move smsc_phy_config_init reset part in a soft_reset function
On the one hand, phy_device.c provides a generic reset function if the phy driver does not provide a soft_reset pointer. This generic reset does not take into account the state of the phy, with a potential failure if the phy is in powerdown mode. On the other hand, smsc driver provides a function with both correct reset behaviour and configuration. This patch moves the reset part into a new smsc_phy_reset function and provides the soft_reset pointer to have a correct reset behaviour by default. Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions