emac-sgmii.h 867 B

12345678910111213141516171819202122232425
  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. #ifndef _EMAC_SGMII_H_
  13. #define _EMAC_SGMII_H_
  14. struct emac_adapter;
  15. struct platform_device;
  16. int emac_sgmii_init_v1(struct emac_adapter *adpt);
  17. int emac_sgmii_init_v2(struct emac_adapter *adpt);
  18. int emac_sgmii_config(struct platform_device *pdev, struct emac_adapter *adpt);
  19. void emac_sgmii_reset(struct emac_adapter *adpt);
  20. #endif