1. 23 10月, 2019 4 次提交
  2. 17 10月, 2019 1 次提交
    • H
      r8152: support request_firmware for RTL8153 · 9370f2d0
      Hayes Wang 提交于
      This patch supports loading additional firmware file through
      request_firmware().
      
      A firmware file may include a header followed by several blocks
      which have different types of firmware. Currently, the supported
      types are RTL_FW_END, RTL_FW_PLA, and RTL_FW_USB.
      
      The firmware is used to fix some compatible or hardware issues. For
      example, the device couldn't be found after rebooting several times.
      
      The supported chips are
      	RTL_VER_04 (rtl8153a-2.fw)
      	RTL_VER_05 (rtl8153a-3.fw)
      	RTL_VER_06 (rtl8153a-4.fw)
      	RTL_VER_09 (rtl8153b-2.fw)
      Signed-off-by: NHayes Wang <hayeswang@realtek.com>
      Reviewed-by: NPrashant Malani <pmalani@chromium.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9370f2d0
  3. 05 10月, 2019 1 次提交
  4. 03 10月, 2019 1 次提交
  5. 02 10月, 2019 2 次提交
  6. 05 9月, 2019 2 次提交
  7. 29 8月, 2019 2 次提交
  8. 26 8月, 2019 1 次提交
  9. 24 8月, 2019 2 次提交
  10. 21 8月, 2019 1 次提交
  11. 20 8月, 2019 1 次提交
  12. 14 8月, 2019 5 次提交
  13. 03 8月, 2019 1 次提交
  14. 06 7月, 2019 1 次提交
  15. 04 7月, 2019 1 次提交
  16. 02 7月, 2019 1 次提交
  17. 19 6月, 2019 1 次提交
  18. 23 4月, 2019 1 次提交
  19. 07 4月, 2019 2 次提交
  20. 23 2月, 2019 1 次提交
  21. 19 2月, 2019 1 次提交
  22. 15 12月, 2018 1 次提交
  23. 30 9月, 2018 1 次提交
  24. 21 8月, 2018 1 次提交
  25. 12 8月, 2018 1 次提交
  26. 30 6月, 2018 1 次提交
  27. 26 6月, 2018 1 次提交
    • J
      r8152: napi hangup fix after disconnect · 0ee1f473
      Jiri Slaby 提交于
      When unplugging an r8152 adapter while the interface is UP, the NIC
      becomes unusable.  usb->disconnect (aka rtl8152_disconnect) deletes
      napi. Then, rtl8152_disconnect calls unregister_netdev and that invokes
      netdev->ndo_stop (aka rtl8152_close). rtl8152_close tries to
      napi_disable, but the napi is already deleted by disconnect above. So
      the first while loop in napi_disable never finishes. This results in
      complete deadlock of the network layer as there is rtnl_mutex held by
      unregister_netdev.
      
      So avoid the call to napi_disable in rtl8152_close when the device is
      already gone.
      
      The other calls to usb_kill_urb, cancel_delayed_work_sync,
      netif_stop_queue etc. seem to be fine. The urb and netdev is not
      destroyed yet.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Cc: linux-usb@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0ee1f473
  28. 22 6月, 2018 1 次提交