Skip to content

Commit 31b2dfd

Browse files
lategoodbyepelwell
authored andcommitted
net: bcmgenet: Add RGMII_RXID support
This adds the missing support for the PHY mode RGMII_RXID. It's necessary for the Raspberry Pi 4. Signed-off-by: Stefan Wahren <[email protected]>
1 parent c415d09 commit 31b2dfd

File tree

1 file changed

+2
-1
lines changed
  • drivers/net/ethernet/broadcom/genet

1 file changed

+2
-1
lines changed

drivers/net/ethernet/broadcom/genet/bcmmii.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,11 @@ int bcmgenet_mii_config(struct net_device *dev, bool init)
274274
id_mode_dis = BIT(16);
275275
/* fall through */
276276
case PHY_INTERFACE_MODE_RGMII_TXID:
277+
case PHY_INTERFACE_MODE_RGMII_RXID:
277278
if (id_mode_dis)
278279
phy_name = "external RGMII (no delay)";
279280
else
280-
phy_name = "external RGMII (TX delay)";
281+
phy_name = "external RGMII";
281282
bcmgenet_sys_writel(priv,
282283
PORT_MODE_EXT_GPHY, SYS_PORT_CTRL);
283284
break;

0 commit comments

Comments
 (0)