blob: ce79212ff403e2386eae1099aec1be73e76d59b6 [file] [log] [blame]
Timur Tabib9b17de2016-08-31 18:22:08 -05001/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#ifndef _EMAC_SGMII_H_
14#define _EMAC_SGMII_H_
15
16struct emac_adapter;
17struct platform_device;
18
19int emac_sgmii_init_v1(struct emac_adapter *adpt);
20int emac_sgmii_init_v2(struct emac_adapter *adpt);
21int emac_sgmii_config(struct platform_device *pdev, struct emac_adapter *adpt);
22void emac_sgmii_reset(struct emac_adapter *adpt);
23
24#endif