diff options
| author | Arun Ramadoss <[email protected]> | 2022-05-17 15:13:26 +0530 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-05-18 12:50:59 +0100 |
| commit | 462d525018f068338a4d0b571aa515e26a8320e7 (patch) | |
| tree | a4f3bacc1db4ddb008fab1c54acc07d1470de146 /tools/perf/scripts/python/futex-contention.py | |
| parent | a30bf805592ed56af7a9482b4339d9c9bb092784 (diff) | |
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 <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions