diff options
author | Michael Grzeschik <[email protected]> | 2020-12-01 21:45:01 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-12-02 17:16:29 -0800 |
commit | 4ce2a984abd86b002c22b9b84842e32e973a5fec (patch) | |
tree | 0c14e1229fe90a02bc4a83a554a2501bf6e298ae /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 65fe1acf07d76198c77a9c9a672928c539bcbc72 (diff) |
net: dsa: microchip: ksz8795: use phy_port_cnt where possible
The driver is currently hard coded to SWITCH_PORT_NUM being
(TOTAL_PORT_NUM - 1) which is limited to 4 user ports for the ksz8795.
The phy_port_cnt is referring to its user ports. The patch removes the
extra define and use the assigned variable phy_port_cnt instead so the
driver can be used on different switches.
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: Michael Grzeschik <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions