diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-02-17 22:34:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-17 22:40:09 +0100 |
commit | 9df81dd7583d14862d0cfb673a941b261f3b2112 (patch) | |
tree | a790b50329b80f6a6b29f745fd2baad8b4d1944f /Documentation | |
parent | net: phy: move PHY software reset to genphy_soft_reset (diff) | |
download | linux-9df81dd7583d14862d0cfb673a941b261f3b2112.tar.xz linux-9df81dd7583d14862d0cfb673a941b261f3b2112.zip |
net: phy: allow PHY drivers to implement their own software reset
As pointed out by Shaohui, most 10G PHYs out there have a non-standard
compliant software reset sequence, eventually something much more
complex than just toggling the BMCR_RESET bit. Allow PHY driver to
implement their own soft_reset() callback to deal with that. If no
callback is provided, call into genphy_soft_reset() which makes sure the
existing behavior is kept intact.
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 'Documentation')
0 files changed, 0 insertions, 0 deletions