acooks/tn40xx-driver

MV88X3310_set_rate_adapt

Opened this issue · 0 comments

pheff commented

There seems to be an issue with MV88X3310_set_rate_adapt for copper implementations. If you jack in/out a cable to a 10G port, the interrrupt service routine gets called properly because it is looking at the MAC_LNK_STAT register (0x200) LNK_STAT bit which is a Read Only register in the TN4010. However, if you jack OUT from a 5G/2.5G/1G/100M port (after jacking in and getting link), the interrupt service routine does not get called because the LNK_STAT bit does not change. This is due to MV88X3310_set_rate_adapt function getting called for those speeds. Commenting out calls to MV88X3310_set_rate_adapt fixes the jack out but I'm not sure of the impact to overall networking on copper interfaces due to my change. Everything seems to work well with the networking at these speeds.

Looking to see if anyone else has recognized this issue.