1 /* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
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.
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.
16 typedef int (*emac_sgmii_initialize)(struct emac_adapter *adpt);
18 /** emac_phy - internal emac phy
20 * @digital per-lane digital block
21 * @initialize initialization function
25 void __iomem *digital;
26 emac_sgmii_initialize initialize;
31 int emac_phy_config(struct platform_device *pdev, struct emac_adapter *adpt);
33 #endif /* _EMAC_PHY_H_ */