commit | 66ce7fb9807b036058aa380bfd2b3851ae25ce39 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Fri Aug 22 18:55:43 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 23 11:39:09 2014 -0700 |
tree | 22af492482c1156cde345f00905baea457db6bc8 | |
parent | a2dbba7674468ad03aa6cf4378ed0965f453e034 [diff] |
net: phy: export phy_{read,write}_mmd_indirect Some PHY drivers might need to access Clause 45 registers in Clause 22 compatibility mode to e.g: properly advertise EEE support when disabled by default. Export these two helper functions: phy_read_mmd_indirect() and phy_write_mmd_indirect() for drivers to use them. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>