]> git.baikalelectronics.ru Git - kernel.git/commit
net: macb: Disable PCS auto-negotiation for SGMII fixed-link mode
authorRobert Hancock <robert.hancock@calian.com>
Thu, 11 Mar 2021 20:18:13 +0000 (14:18 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Mar 2021 00:44:45 +0000 (16:44 -0800)
commit7026cc9e09ffd22c10abd725d03816e28f26fe38
tree3c051845c138271a8139e2438469eac87fada0fa
parent60ed2e73f9d68bbb4628cd646cab74e7c2d8d5a8
net: macb: Disable PCS auto-negotiation for SGMII fixed-link mode

When using a fixed-link configuration in SGMII mode, it's not really
sensible to have auto-negotiation enabled since the link settings are
fixed by definition. In other configurations, such as an SGMII
connection to a PHY, it should generally be enabled.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.h
drivers/net/ethernet/cadence/macb_main.c