Hi,
whats the right way to disable one of the ethernet ports? I've tried it some time before but PRUs didn't like me approach deactivating the PHYs or change the initialization. How is this done right?
Thank you in advance and best regards,
Stefan
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
whats the right way to disable one of the ethernet ports? I've tried it some time before but PRUs didn't like me approach deactivating the PHYs or change the initialization. How is this done right?
Thank you in advance and best regards,
Stefan
Stefan
"ICSS_EmacUpdatePhyStatus()" function in the icss-emac driver signals link up to the firmware. You can modify the icss-emac driver so that this function does not get called for the port you want to disable. It gets called from "ICSS_EMacOsLinkTaskFnc()" or "ICSS_EmacPollLink()" function.
Regards
Dhaval Khandla
Stefan
Were you able to try this? Please let us know if you are seeing any issues.
Regards
Dhaval Khandla
Dhval
sorry for responding so late. I tried something like that:
if (portNum == 2) { linkStatus = 0; } else { linkStatus = ((ICSS_EmacObject*)icssEmacHandle->object)->linkStatus[index]; }
Seems to work very fine.
Thank you and best regards
Stefan