[U-Boot] Ethernet support broken for Wandboard Quad on master

Fabio Estevam festevam at gmail.com
Thu Jul 18 18:37:59 CEST 2013


On Thu, Jul 18, 2013 at 12:49 PM, Charles Coldwell <coldwell at gmail.com> wrote:

> What happens if you just remove the line that assigns phydev->speed in
> the previous version?

It works fine if I do:

--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -339,7 +339,6 @@ int genphy_parse_link(struct phy_device *phydev)

                if (estatus & (ESTATUS_1000_XFULL | ESTATUS_1000_XHALF |
                                ESTATUS_1000_TFULL | ESTATUS_1000_THALF)) {
-                       phydev->speed = SPEED_1000;
                        if (estatus & (ESTATUS_1000_XFULL | ESTATUS_1000_TFULL))
                                phydev->duplex = DUPLEX_FULL;
                }

Is this the correct fix?


More information about the U-Boot mailing list