12 Jan, 2017

1 commit

  • commit e7c9a3d9e432200fd4c17855c2c23ac784d6e833 upstream.

    The Octeon driver calls into PHYLIB which now checks for
    net_device->dev.parent, so make sure we do set it before calling into
    any MDIO/PHYLIB related function.

    Fixes: ec988ad78ed6 ("phy: Don't increment MDIO bus refcount unless it's a different owner")
    Reported-by: Aaro Koskinen
    Signed-off-by: Florian Fainelli
    Signed-off-by: Greg Kroah-Hartman

    Florian Fainelli
     

20 Sep, 2016

1 commit


18 Sep, 2016

1 commit


16 Sep, 2016

2 commits


12 Sep, 2016

1 commit


02 Sep, 2016

12 commits


01 Sep, 2016

1 commit


22 Aug, 2016

5 commits


28 Mar, 2016

2 commits


12 Mar, 2016

9 commits


21 Feb, 2016

2 commits


15 Feb, 2016

1 commit


12 Feb, 2016

2 commits

  • Refactor RGMII 10 Mbps preamble error checking. The current implementation
    does not work correctly in phydev mode since only the link status changes
    trigger the callback, and if we stay on 10 Mbps operation the periodic
    checks for error counters are never done.

    Provide a periodic worker also during the phydev operation, and notify
    the link status changes through the phydev instead of the inband
    status change interrupt. This also has the benefit that we don't need
    to use legacy CVMX MDIO calls to check the PHY state, and we can avoid
    races that trigger bogus "Using 10Mbps with software preamble removal"
    logs when interfaces are being bringed up. It also avoids some corner-case
    crashes when the in-band interrupt triggers while the interface is
    being taken down.

    Tested on EdgeRouter Lite & D-Link DSR-1000N.

    Signed-off-by: Aaro Koskinen
    Signed-off-by: Greg Kroah-Hartman

    Aaro Koskinen
     
  • Add spaces around operators for better readability. Change suggested by
    checkpatch.

    Signed-off-by: Janani Ravichandran
    Signed-off-by: Greg Kroah-Hartman

    Janani Ravichandran