summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorqumingguang <qumingguang@huawei.com>2017-11-02 20:45:16 +0800
committerDavid S. Miller <davem@davemloft.net>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 <qumingguang@huawei.com> Signed-off-by: Lipeng <lipeng321@huawei.com> Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions