armv8/ls1043a: RGMII PHY requires internal delay on Tx
authorMadalin Bucur <madalin.bucur@nxp.com>
Mon, 3 Apr 2017 14:43:55 +0000 (17:43 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Fri, 2 Jun 2017 19:44:18 +0000 (14:44 -0500)
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/fm/ls1043.c

index 93ba318bf5286bd11114cf5a94dad87497a99f27..6bb6a71470808d0ec9422173ce04c1dd931ec283 100644 (file)
@@ -66,12 +66,12 @@ phy_interface_t fman_port_enet_if(enum fm_port port)
        if (port == FM1_DTSEC3)
                if ((rcwsr13 & FSL_CHASSIS2_RCWSR13_EC1) ==
                                FSL_CHASSIS2_RCWSR13_EC1_DTSEC3_RGMII) {
-                       return PHY_INTERFACE_MODE_RGMII;
+                       return PHY_INTERFACE_MODE_RGMII_TXID;
                }
        if (port == FM1_DTSEC4)
                if ((rcwsr13 & FSL_CHASSIS2_RCWSR13_EC2) ==
                                FSL_CHASSIS2_RCWSR13_EC2_DTSEC4_RGMII) {
-                       return PHY_INTERFACE_MODE_RGMII;
+                       return PHY_INTERFACE_MODE_RGMII_TXID;
                }
 
        /* handle SGMII */