On Wed, Aug 21, 2024 at 05:08:39PM +0100, Daniel Golle wrote: > On Wed, Aug 21, 2024 at 06:00:36PM +0200, Andrew Lunn wrote: > > On Wed, Aug 21, 2024 at 01:46:30PM +0100, Daniel Golle wrote: > > > Usually the MDI pair order reversal configuration is defined by > > > bootstrap pin MDI_CFG. Some designs, however, require overriding the MDI > > > pair order and force either normal or reverse order. > > > > Could you explain that in a bit more detail. Are you talking about > > changing the order of the 4 pairs? Or reversing the polarity within > > pairs? > > It's about changing the order of the 4 pairs, either ABCD or DCBA. > Polarity of each pair is not affected by this. So when i do ethtool -s 42 mdix off to enable straight through, are you saying the PHY actually does crossover, because the pull-up tells it the wrong thing about how the cable is wired? And `mdix on` for crossover gives straight? 'mdix auto' just works as expected, since it tried all the combinations until it works? Andrew