aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorVivien Didelot <[email protected]>2016-06-20 13:14:11 -0400
committerDavid S. Miller <[email protected]>2016-06-21 03:58:30 -0400
commit914b32f65afaaab005151335e183b4194d48162d (patch)
tree89fe25c901631b6c8bc4a1ba4c14dd1c3e30b8ab /tools/perf/scripts/python/call-graph-from-postgresql.py
parent9dddd478d4883deb1f5b6d3fcea681c9c9e90708 (diff)
net: dsa: mv88e6xxx: abstract switch registers accesses
When the SMI address of the switch chip is zero, the chip assumes to be the only one on the SMI master bus and thus responds to all its known SMI devices addresses (port registers, Global2, etc.) When its SMI address is not zero, some chips (e.g. 88E6352) use an indirect access through two SMI Command and Data registers. Other models (e.g. 88E6060) using less than 16 internal SMI addresses always use a direct access. Add a capability flag to describe chips supporting the (indirect) Multi-chip Addressing Mode, and a low-level API to access the registers via SMI. Other accesses (like Ethernet management frames) may be added later. Signed-off-by: Vivien Didelot <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions