Searched hist:"5 bcea7aac5bc26e79c06285f0762b9b50d57b418" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | dwc_eth_qos.c | 5bcea7aac5bc26e79c06285f0762b9b50d57b418 Thu Apr 30 03:08:29 UTC 2020 David Wu <david.wu@rock-chips.com> net: dwc_eth_qos: Split eqos_start() to get link speed
For Rockchip, need to obtain the current link speed to configure the tx clocks, (for example, in rgmii mode, 1000M link: 125M, 100M link: 25M, 10M link is 2.5M rate) and then enable gmac. So after the adjust_link(), before the start gamc, this intermediate stage needs to configure the clock according to the current link speed.
Signed-off-by: David Wu <david.wu@rock-chips.com> Change-Id: I9a46da28abca0544cb0a56b0a0574e2fd1de0c52
|