commit | efb3e74da2e1818565a9ffc5ec55d9e7bda17e8e | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Tue Jan 24 14:53:47 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 24 15:33:50 2017 -0500 |
tree | 474d1e1f3a9a80f0bd6f1845cd17fadd895c5496 | |
parent | 146408693945a68f227175c1cea3772fc0f98f20 [diff] |
net: dsa: mv88e6xxx: Abstract mv88e6165 PHY operations The mv88e6165 family has the internal PHYs mapped directly onto the SMI register space as the switch. So the registers can be read directly. Put a wrapper around this, in preparation for changing the signature in order to support the external MDIO bus of the 6390. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>