diff mbox

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

Message ID CAOMZO5Bg9J87CHzS4PZWncR7Xx06ekZdoiBmmeX4qLHA9Wctmw@mail.gmail.com
State Not Applicable
Headers show

Commit Message

Fabio Estevam July 18, 2013, 4:37 p.m. UTC
On Thu, Jul 18, 2013 at 12:49 PM, Charles Coldwell <coldwell@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:


Is this the correct fix?
diff mbox

Patch

--- 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;
                }