diff options
author | Arınç ÜNAL <arinc.unal@arinc9.com> | 2024-04-22 10:15:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-24 13:57:02 +0300 |
commit | eeaf9acbfc50a3872ca6e44c54c01158ef06f921 (patch) | |
tree | 88ce1e84af1c2369add7b589d9e582342a760608 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 883ea1c0ed482c7ec0d127308df7a34aa461d63f (diff) | |
download | linux-eeaf9acbfc50a3872ca6e44c54c01158ef06f921.tar.xz |
net: dsa: mt7530: rename p5_intf_sel and use only for MT7530 switch
The p5_intf_sel pointer is used to store the information of whether PHY
muxing is used or not. PHY muxing is a feature specific to port 5 of the
MT7530 switch. Do not use it for other switch models.
Rename the pointer to p5_mode to store the mode the port is being used in.
Rename the p5_interface_select enum to mt7530_p5_mode, the string
representation to mt7530_p5_mode_str, and the enum elements.
If PHY muxing is not detected, the default mode, GMAC5, will be used.
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions