diff options
| author | Arun Ramadoss <arun.ramadoss@microchip.com> | 2022-05-17 15:13:26 +0530 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-05-18 12:50:59 +0100 |
| commit | 462d525018f068338a4d0b571aa515e26a8320e7 (patch) | |
| tree | a4f3bacc1db4ddb008fab1c54acc07d1470de146 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | net: dsa: microchip: ksz8795: update the port_cnt value in ksz_chip_data (diff) | |
| download | linux-462d525018f068338a4d0b571aa515e26a8320e7.tar.gz linux-462d525018f068338a4d0b571aa515e26a8320e7.zip | |
net: dsa: microchip: move ksz_chip_data to ksz_common
This patch moves the ksz_chip_data in ksz8795 and ksz9477 to ksz_common.
At present, the dev->chip_id is iterated with the ksz_chip_data and then
copy its value to the ksz_dev structure. These values are declared as
constant.
Instead of copying the values and referencing it, this patch update the
dev->info to the ksz_chip_data based on the chip_id in the init
function. And also update the ksz_chip_data values for the LAN937x based
switches.
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
