aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2021-05-31 01:59:35 +0300
committerJakub Kicinski <[email protected]>2021-05-31 22:40:25 -0700
commitbf4edf4afb87e67bed8678c09a01110148830483 (patch)
tree4e4016dd703e2185774b939e42b396c26bc08dc9 /tools/perf/scripts/python
parent4c7ee010cf75e5769037d4f152a8192dcf5eb49c (diff)
net: dsa: sja1105: cache the phy-mode port property
So far we've succeeded in operating without keeping a copy of the phy-mode in the driver, since we already have the static config and we can look at the xMII Mode Parameters Table which already holds that information. But with the SJA1110, we cannot make the distinction between sgmii and 2500base-x, because to the hardware's static config, it's all SGMII. So add a phy_mode property per port inside struct sja1105_private. Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions