1. 28 5月, 2013 1 次提交
  2. 16 4月, 2013 1 次提交
  3. 08 4月, 2013 2 次提交
  4. 28 3月, 2013 1 次提交
  5. 21 3月, 2013 2 次提交
  6. 12 3月, 2013 4 次提交
  7. 10 3月, 2013 2 次提交
  8. 01 3月, 2013 2 次提交
    • V
      net/phy: micrel: Disable asymmetric pause for KSZ9021 · 32fcafbc
      Vlastimil Kosar 提交于
      Phyter KSZ9021 has hardware bug. If asymmetric pause is enabled,
      then it is necessary to disconnect and then reconnect the ethernet
      cable to get the phyter working. The solution is to disable the
      asymmetric pause.
      Signed-off-by: NVlastimil Kosar <ikosar@fit.vutbr.cz>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      32fcafbc
    • P
      phy: Fix phy_device_free memory leak · b2a43191
      Petr Malat 提交于
      Fix memory leak in phy_device_free() for the case when phy_device*
      returned by phy_device_create() is not registered in the system.
      
      Bug description:
      phy_device_create() sets name of kobject using dev_set_name(), which
      allocates memory using kvasprintf(), but this memory isn't freed if
      the underlying device isn't registered properly, because kobject_cleanup()
      is not called in that case. This can happen (and actually is happening on
      our machines) if phy_device_register(), called by mdiobus_scan(), fails.
      
      Patch description:
      Embedded struct device is initialized in phy_device_create() and it
      counterpart phy_device_free() just drops one reference to the device,
      which leads to proper deinitialization including releasing the kobject
      name memory.
      Signed-off-by: NPetr Malat <oss@malat.biz>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b2a43191
  9. 14 2月, 2013 1 次提交
  10. 13 2月, 2013 1 次提交
  11. 07 2月, 2013 1 次提交
  12. 05 2月, 2013 1 次提交
  13. 29 1月, 2013 2 次提交
  14. 28 1月, 2013 2 次提交
  15. 18 1月, 2013 1 次提交
  16. 15 1月, 2013 1 次提交
  17. 08 12月, 2012 3 次提交
  18. 06 12月, 2012 1 次提交
  19. 04 12月, 2012 1 次提交
  20. 24 11月, 2012 1 次提交
  21. 20 11月, 2012 1 次提交
    • S
      of/net/mdio-gpio: Fix pdev->id issue when using devicetrees. · 3272dd9b
      Srinivas Kandagatla 提交于
      When the mdio-gpio driver is probed via device trees, the platform
      device id is set as -1, However the pdev->id is re-used as bus-id for
      while creating mdio gpio bus.
      So
      For device tree case the mdio-gpio bus name appears as "gpio-ffffffff"
      where as
      for non-device tree case the bus name appears as "gpio-<bus-num>"
      
      Which means the bus_id is fixed in device tree case, so we can't have
      two mdio gpio buses via device trees. Assigning a logical bus number
      via device tree solves the problem and the bus name is much consistent
      with non-device tree bus name.
      
      Without this patch
      1. we can't support two mdio-gpio buses via device trees.
      2. we should always pass gpio-ffffffff as bus name to phy_connect, very
      different to non-device tree bus name.
      
      So, setting up the bus_id via aliases from device tree is the right
      solution and other drivers do similar thing.
      Signed-off-by: NSrinivas Kandagatla <srinivas.kandagatla@st.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3272dd9b
  22. 16 11月, 2012 1 次提交
    • P
      net: phy: smsc: Re-enable EDPD mode for LAN87xx · 4223dbff
      Patrick Trantham 提交于
      This patch re-enables Energy Detect Power Down (EDPD) mode for the
      LAN8710/LAN8720.  EDPD mode was disabled in a previous commit,
      (b629820d), because it was causing the
      PHY to not be able to detect a link when cold started without a cable
      connected.
      
      The LAN8710/LAN8720 requires a minimum of 2 link pulses within 64ms of
      each other in order to set the ENERGYON bit and exit EDPD mode.  If a
      link partner does send the pulses within this interval, the PHY will
      remained powered down.
      
      This workaround will manually toggle the PHY on/off upon calls to
      read_status in order to generate link test pulses if the link is down.
      If a link partner is present, it will respond to the pulses, which will
      cause the ENERGYON bit to be set and will cause the EDPD mode to be
      exited.
      Signed-off-by: NPatrick Trantham <patrick.trantham@fuel7.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4223dbff
  23. 15 11月, 2012 2 次提交
  24. 10 11月, 2012 1 次提交
  25. 03 11月, 2012 1 次提交
  26. 19 10月, 2012 1 次提交
  27. 10 10月, 2012 1 次提交
  28. 28 9月, 2012 1 次提交