diff options
author | Yanteng Si <[email protected]> | 2024-08-07 21:47:10 +0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-08-13 09:48:00 +0200 |
commit | 79afc70002c20753aaed41a5083cf936148832b1 (patch) | |
tree | f3cdd61c0603a9ed5974ccdfb2433de6ee9a9b50 /tools/perf/scripts/python | |
parent | 324d96b46520f1476f25deaad0e49d8df71377c1 (diff) |
net: stmmac: dwmac-loongson: Detach GMAC-specific platform data init
Loongson delivers two types of the network devices: Loongson GMAC and
Loongson GNET in the framework of four SOC/Chipsets revisions:
Chip Network PCI Dev ID Synopys Version DMA-channel
LS2K1000 SOC GMAC 0x7a03 v3.50a/v3.73a 1
LS7A1000 Chipset GMAC 0x7a03 v3.50a/v3.73a 1
LS2K2000 SOC GMAC 0x7a03 v3.73a 8
LS2K2000 SOC GNET 0x7a13 v3.73a 8
LS7A2000 Chipset GNET 0x7a13 v3.73a 1
The driver currently supports the chips with the Loongson GMAC network
device synthesized with a single DMA-channel available. As a
preparation before adding the Loongson GNET support detach the
Loongson GMAC-specific platform data initializations to the
loongson_gmac_data() method and preserve the common settings in the
loongson_default_data().
While at it drop the return value statement from the
loongson_default_data() method as redundant.
Note there is no intermediate vendor-specific PCS in between the MAC
and PHY on Loongson GMAC and GNET. So the plat->mac_interface field
can be freely initialized with the PHY_INTERFACE_MODE_NA value.
Signed-off-by: Feiyang Chen <[email protected]>
Signed-off-by: Yinggang Gu <[email protected]>
Reviewed-by: Serge Semin <[email protected]>
Acked-by: Huacai Chen <[email protected]>
Signed-off-by: Yanteng Si <[email protected]>
Tested-by: Serge Semin <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions