Skip to content

Commit a7a0d62

Browse files
AtsushiNemotodavem330
authored andcommitted
net: stmmac: socfpga: Allow all RGMII modes
Allow all the RGMII modes to be used. (Not only "rgmii", "rgmii-id" but "rgmii-txid", "rgmii-rxid") Signed-off-by: Atsushi Nemoto <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 047c730 commit a7a0d62

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ static int socfpga_set_phy_mode_common(int phymode, u32 *val)
241241
switch (phymode) {
242242
case PHY_INTERFACE_MODE_RGMII:
243243
case PHY_INTERFACE_MODE_RGMII_ID:
244+
case PHY_INTERFACE_MODE_RGMII_RXID:
245+
case PHY_INTERFACE_MODE_RGMII_TXID:
244246
*val = SYSMGR_EMACGRP_CTRL_PHYSEL_ENUM_RGMII;
245247
break;
246248
case PHY_INTERFACE_MODE_MII:

0 commit comments

Comments
 (0)