diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-02-17 13:34:02 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-17 16:40:08 -0500 |
commit | 797ac07137d9ae8572008e21e6123a9ae17dae50 (patch) | |
tree | cb4753c7b10f5e950542f34dd6782e65291991c3 /drivers/net/phy/cicada.c | |
parent | ee0c4c39c577d07c05749a5f5b960b4c0fdd8097 (diff) |
net: phy: move PHY software reset to genphy_soft_reset
As pointed out by Shaohui, this function is generic for 10/100/1000
PHYs, but 10G PHYs might have a slightly different reset sequence which
prevents most of them from using this function.
Move the BMCR_RESET based software resent sequence to
genphy_soft_reset() in preparation for allowing PHY drivers to implement
a soft_reset() callback.
Reported-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/cicada.c')
0 files changed, 0 insertions, 0 deletions