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