1. 20 8月, 2020 2 次提交
  2. 22 7月, 2020 1 次提交
  3. 15 7月, 2020 1 次提交
  4. 01 7月, 2020 1 次提交
    • B
      net: phy: don't abuse devres in devm_mdiobus_register() · ac3a68d5
      Bartosz Golaszewski 提交于
      We currently have two managed helpers for mdiobus - devm_mdiobus_alloc()
      and devm_mdiobus_register(). The idea behind devres is that the release
      callback releases whatever resource the devm function allocates. In the
      mdiobus case however there's no devres associated with the device by
      devm_mdiobus_register(). Instead the release callback for
      devm_mdiobus_alloc(): _devm_mdiobus_free() unregisters the device if
      it is marked as managed.
      
      This all seems wrong. The managed structure shouldn't need to know or
      care about whether it's managed or not - and this is the case now for
      struct mii_bus. The devres wrapper should be opaque to the managed
      resource.
      
      This changeset makes devm_mdiobus_alloc() and devm_mdiobus_register()
      conform to common devres standards: devm_mdiobus_alloc() allocates a
      devres structure and registers a callback that will call mdiobus_free().
      __devm_mdiobus_register() allocated another devres and registers a
      callback that will unregister the bus.
      Signed-off-by: NBartosz Golaszewski <bgolaszewski@baylibre.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ac3a68d5
  5. 29 6月, 2020 2 次提交
  6. 24 6月, 2020 1 次提交
  7. 23 6月, 2020 6 次提交
  8. 21 6月, 2020 1 次提交
  9. 19 6月, 2020 8 次提交
  10. 05 6月, 2020 1 次提交
    • H
      r8169: fix failing WoL · 12006848
      Heiner Kallweit 提交于
      Th referenced change added an extra hw reset to rtl8169_net_suspend()
      what makes WoL fail on few chip versions. Therefore skip the extra
      reset if we're going down and WoL is enabled.
      In rtl_shutdown() rtl8169_hw_reset() is called by rtl8169_net_suspend()
      already if needed, therefore avoid issues issue by removing the extra
      call. The fix was tested on a system with RTL8168g.
      
      Meanwhile rtl8169_hw_reset() does more than a hw reset and should be
      renamed. But that's net-next material.
      
      Fixes: 8ac8e8c6 ("r8169: make rtl8169_down central chip quiesce function")
      Signed-off-by: NHeiner Kallweit <hkallweit1@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      12006848
  11. 31 5月, 2020 6 次提交
  12. 27 5月, 2020 1 次提交
  13. 26 5月, 2020 4 次提交
  14. 24 5月, 2020 3 次提交
  15. 23 5月, 2020 1 次提交
  16. 19 5月, 2020 1 次提交