1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright (c) 2016-2017 Hisilicon Limited.
3 
4 #ifndef __HCLGE_MDIO_H
5 #define __HCLGE_MDIO_H
6 
7 int hclge_mac_mdio_config(struct hclge_dev *hdev);
8 int hclge_mac_connect_phy(struct hnae3_handle *handle);
9 void hclge_mac_disconnect_phy(struct hnae3_handle *handle);
10 void hclge_mac_start_phy(struct hclge_dev *hdev);
11 void hclge_mac_stop_phy(struct hclge_dev *hdev);
12 
13 #endif
14