net: phy: allow Clause 45 access via mii ioctl
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 28 May 2019 09:57:29 +0000 (10:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 May 2019 19:37:46 +0000 (12:37 -0700)
commitcdea04c24616416f8239d86a1012d924fb6f0d30
tree76eaf93f06441081b2b74d70c9d4198b7460f56d
parent7b3b0e89bcf3acb56bf59666122226de0913a8b4
net: phy: allow Clause 45 access via mii ioctl

Allow userspace to generate Clause 45 MII access cycles via phylib.
This is useful for tools such as mii-diag to be able to inspect Clause
45 PHYs.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c