I've had a great deal of difficulty getting a Xilinx U55C + stock onic driver to link and communicate when attached to various Cisco switches. After a bunch of experimentation I figured out the issues. This PR contains those changes along with a few minor improvements.
Revert changes from 90c98b6580b6e050cd27a003c672494577803044; the alignment check and wait is necessary for any non-loopback use case.
Increase the alignment check wait time to 1000ms.
Add install and uninstall targets to the Makefile.
Add custom ethtool onic_get_link() function that actually reads the STAT_RX_STATUS CMAC register to determine if the CMAC has link.
I've had a great deal of difficulty getting a Xilinx U55C + stock onic driver to link and communicate when attached to various Cisco switches. After a bunch of experimentation I figured out the issues. This PR contains those changes along with a few minor improvements.
onic_get_link()
function that actually reads the STAT_RX_STATUS CMAC register to determine if the CMAC has link.