diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-09-19 13:07:55 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-19 16:27:07 -0400 |
commit | aa9aef77c76113725d9dbf124c4dab414326b0a3 (patch) | |
tree | 1a3a54f7bbf096cd44fbfb8afcc9f6f9605309c9 /drivers/net/ethernet | |
parent | 6819563e646a7f3692836daefd12cd86c697759f (diff) | |
download | op-kernel-dev-aa9aef77c76113725d9dbf124c4dab414326b0a3.zip op-kernel-dev-aa9aef77c76113725d9dbf124c4dab414326b0a3.tar.gz |
net: dsa: bcm_sf2: communicate integrated PHY revision to PHY driver
The integrated BCM7xxx PHY contains no useful revision information
in its MII_PHYSID2 bits 3:0, that information is instead contained in
the SWITCH_REG_PHY_REVISION register.
Read this register, store its value, and return it by implementing the
dsa_switch::get_phy_flags() callback accordingly. The register layout is
already matching what the BCM7xxx PHY driver is expecting to find.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions