]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
net: phy: export phy_{read,write}_mmd_indirect
authorFlorian Fainelli <f.fainelli@gmail.com>
Sat, 23 Aug 2014 01:55:43 +0000 (18:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Aug 2014 18:39:09 +0000 (11:39 -0700)
commit66ce7fb9807b036058aa380bfd2b3851ae25ce39
tree22af492482c1156cde345f00905baea457db6bc8
parenta2dbba7674468ad03aa6cf4378ed0965f453e034
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>
drivers/net/phy/phy.c
include/linux/phy.h