On 7/30/19 6:36 PM, Andrew Lunn wrote: >> The INTF_SEL pins report correct mode (RGMII-Fiber) on my machine, >> but there are 2 "sub-modes" (1000Base-X and 100Base-FX) and I >> couldn't find a proper/safe way to auto-detect which "sub-mode" is >> active. The datasheet just describes instructions to enable a >> specific mode, but it doesn't say 1000Base-X/100Base-FX mode will be >> auto-selected. And that's why I came up with the patch to specify >> 1000Base-X mode. > > Fibre does not perform any sort of auto-negotiation. I assume you have > an SFP connected? When using PHYLINK, the sfp driver will get the > supported baud rate from SFP EEPROM to determine what speed could be > used. However, there is currently no mainline support for having a > chain MAC-PHY-SFP. For that you need Russells out of tree patches.
Hi Andrew, The BCM54616S PHY on my machine is connected to a BCM5396 switch chip over backplane (1000Base-KX). Thanks, Tao