Triple-Speed Ethernet Intel® FPGA IP User Guide

ID 683402
Date 11/25/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

10.6.3. alt_tse_phy_add_profile()

Details
Prototype: alt_tse_phy_add_profile(alt_tse_phy_profile *phy)
Thread-safe: No
Available from ISR: No
Include: <altera_avalon_tse.h>
Description: The alt_tse_phy_add_profile() function adds a new PHY to the PHY profile. Use this function if you want to use PHYs other than Marvell 88E1111, Marvell Quad PHY 88E1145, National DP83865, and National DP83848C.
Parameter: phy—A pointer to the PHY structure.
Return: ALTERA_TSE_MALLOC_FAILED if the operation is not successful. Otherwise, the index of the newly added PHY is returned.