Commit 6a600c3a authored by Anton Vorontsov's avatar Anton Vorontsov Committed by Kim Phillips
Browse files

uec: add support for RGMII_RXID interface mode



PHY drivers will use it to setup software delay between RXD and RXC
signals.
Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
parent 91cdaa3a
......@@ -417,6 +417,7 @@ static int uec_set_mac_if_mode(uec_private_t *uec, enet_interface_e if_mode)
maccfg2 |= MACCFG2_INTERFACE_MODE_BYTE;
upsmr |= (UPSMR_RPM | UPSMR_TBIM);
break;
case ENET_1000_RGMII_RXID:
case ENET_1000_RGMII:
maccfg2 |= MACCFG2_INTERFACE_MODE_BYTE;
upsmr |= UPSMR_RPM;
......
......@@ -642,6 +642,7 @@ typedef enum enet_interface {
ENET_100_RGMII,
ENET_1000_GMII,
ENET_1000_RGMII,
ENET_1000_RGMII_RXID,
ENET_1000_TBI,
ENET_1000_RTBI
} enet_interface_e;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment