We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0b4a80 commit f2916c8Copy full SHA for f2916c8
drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.c
@@ -124,8 +124,12 @@ static int ngbe_phylink_init(struct wx *wx)
124
MAC_SYM_PAUSE | MAC_ASYM_PAUSE;
125
config->mac_managed_pm = true;
126
127
- phy_mode = PHY_INTERFACE_MODE_RGMII_ID;
128
- __set_bit(PHY_INTERFACE_MODE_RGMII_ID, config->supported_interfaces);
+ /* The MAC only has add the Tx delay and it can not be modified.
+ * So just disable TX delay in PHY, and it is does not matter to
129
+ * internal phy.
130
+ */
131
+ phy_mode = PHY_INTERFACE_MODE_RGMII_RXID;
132
+ __set_bit(PHY_INTERFACE_MODE_RGMII_RXID, config->supported_interfaces);
133
134
phylink = phylink_create(config, NULL, phy_mode, &ngbe_mac_ops);
135
if (IS_ERR(phylink))
0 commit comments