aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorqumingguang <[email protected]>2017-11-02 20:45:16 +0800
committerDavid S. Miller <[email protected]>2017-11-02 21:28:35 +0900
commitcf9cca2dd903b78d04ea7ad4cde0231988944d0f (patch)
tree09f4aabb402c7720bded6216275d6eccc6e23e8c /tools/perf/scripts/python
parent7df7dad633e2c6d43ee9b39c267ee0add9798384 (diff)
net: hns3: Refactor mac_init function
It needs initialize mdio in initialization process, but reset process does not reset mdio, so do not initialize mdio in reset process. This patch move out the mdio configuration function from the mac_init. So mac_init can be used both in reset process and initialization process. Signed-off-by: qumingguang <[email protected]> Signed-off-by: Lipeng <[email protected]> Signed-off-by: Yunsheng Lin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions