diff options
| author | Vladimir Oltean <[email protected]> | 2020-09-26 22:32:01 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-09-26 14:17:58 -0700 |
| commit | 2d44b097bbb9d0af0f3b94304fee4b639ab14171 (patch) | |
| tree | e2334284f3b44cb14e9364626b4b9595d7b07b99 /tools/perf/scripts/python | |
| parent | 435be28b0789b3aa679a993f47d5e480f291e604 (diff) | |
net: mscc: ocelot: move NPI port configuration to DSA
Remove the ocelot_configure_cpu() function, which was in fact bringing
up 2 ports: the CPU port module, which both switchdev and DSA have, and
the NPI port, which only DSA has.
The (non-Ethernet) CPU port module is at a fixed index in the analyzer,
whereas the NPI port is selected through the "ethernet" property in the
device tree.
Therefore, the function to set up an NPI port is DSA-specific, so we
move it there, simplifying the ocelot switch library a little bit.
Cc: Horatiu Vultur <[email protected]>
Cc: Alexandre Belloni <[email protected]>
Cc: UNGLinuxDriver <[email protected]>
Signed-off-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions