1 /* 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 16 struct emac_adapter; 17 struct platform_device; 18 19 int emac_sgmii_init_v1(struct emac_adapter *adpt); 20 int emac_sgmii_init_v2(struct emac_adapter *adpt); 21 int emac_sgmii_config(struct platform_device *pdev, struct emac_adapter *adpt); 22 void emac_sgmii_reset(struct emac_adapter *adpt); 23 24 #endif 25