1. 22 3月, 2017 1 次提交
  2. 07 9月, 2016 1 次提交
  3. 01 6月, 2016 1 次提交
  4. 05 5月, 2016 1 次提交
  5. 02 5月, 2016 1 次提交
    • A
      net/smscx5xx: use the device tree for mac address · c489565b
      Arnd Bergmann 提交于
      This takes the MAC address for smsc75xx/smsc95xx USB network devices
      from a the device tree. This is required to get a usable persistent
      address on the popular beagleboard, whose hardware designers
      accidentally forgot that an ethernet device really requires an a
      MAC address to be functional.
      
      The Raspberry Pi also ships smsc9514 without a serial EEPROM, stores
      the MAC address in ROM accessible via VC4 firmware.
      
      The smsc75xx and smsc95xx drivers are just two copies of the
      same code, so better fix both.
      
      [lkundrak@v3.sk: updated to use of_get_property() as per suggestion from
      Arnd, reworded the message and comments a bit]
      Tested-by: NLubomir Rintel <lkundrak@v3.sk>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NLubomir Rintel <lkundrak@v3.sk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c489565b
  6. 23 9月, 2015 1 次提交
  7. 12 11月, 2014 1 次提交
  8. 10 7月, 2014 1 次提交
    • J
      usbnet: smsc95xx: add reset_resume function with reset operation · b4df480f
      Joonyoung Shim 提交于
      The smsc95xx needs to resume with reset operation. Otherwise it causes
      system hang by network error like below after resume. This case appears
      on odroid u3 board.
      
      [    9.727600] smsc95xx 1-2:1.0 eth0: kevent 2 may have been dropped
      [    9.727648] smsc95xx 1-2:1.0 eth0: kevent 2 may have been dropped
      [    9.727689] smsc95xx 1-2:1.0 eth0: kevent 2 may have been dropped
      [    9.727728] smsc95xx 1-2:1.0 eth0: kevent 2 may have been dropped
      [    9.729486] PM: resume of devices complete after 2011.219 msecs
      [   10.117609] Restarting tasks ... done.
      [   11.725099] smsc95xx 1-2:1.0 eth0: kevent 2 may have been dropped
      [   13.480846] smsc95xx 1-2:1.0 eth0: kevent 2 may have been dropped
      [   13.481361] smsc95xx 1-2:1.0 eth0: kevent 2 may have been dropped
      ...
      Signed-off-by: NJoonyoung Shim <jy0922.shim@samsung.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b4df480f
  9. 18 2月, 2014 1 次提交
    • E
      usbnet: remove generic hard_header_len check · eb85569f
      Emil Goode 提交于
      This patch removes a generic hard_header_len check from the usbnet
      module that is causing dropped packages under certain circumstances
      for devices that send rx packets that cross urb boundaries.
      
      One example is the AX88772B which occasionally send rx packets that
      cross urb boundaries where the remaining partial packet is sent with
      no hardware header. When the buffer with a partial packet is of less
      number of octets than the value of hard_header_len the buffer is
      discarded by the usbnet module.
      
      With AX88772B this can be reproduced by using ping with a packet
      size between 1965-1976.
      
      The bug has been reported here:
      
      https://bugzilla.kernel.org/show_bug.cgi?id=29082
      
      This patch introduces the following changes:
      - Removes the generic hard_header_len check in the rx_complete
        function in the usbnet module.
      - Introduces a ETH_HLEN check for skbs that are not cloned from
        within a rx_fixup callback.
      - For safety a hard_header_len check is added to each rx_fixup
        callback function that could be affected by this change.
        These extra checks could possibly be removed by someone
        who has the hardware to test.
      - Removes a call to dev_kfree_skb_any() and instead utilizes the
        dev->done list to queue skbs for cleanup.
      
      The changes place full responsibility on the rx_fixup callback
      functions that clone skbs to only pass valid skbs to the
      usbnet_skb_return function.
      Signed-off-by: NEmil Goode <emilgoode@gmail.com>
      Reported-by: NIgor Gnatenko <i.gnatenko.brain@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      eb85569f
  10. 17 1月, 2014 1 次提交
  11. 07 12月, 2013 1 次提交
  12. 26 3月, 2013 1 次提交
  13. 26 2月, 2013 3 次提交
  14. 05 2月, 2013 1 次提交
  15. 05 1月, 2013 2 次提交
  16. 11 12月, 2012 2 次提交
  17. 01 12月, 2012 5 次提交
  18. 26 11月, 2012 1 次提交
  19. 24 11月, 2012 4 次提交
  20. 14 11月, 2012 1 次提交
  21. 07 11月, 2012 2 次提交
  22. 04 11月, 2012 1 次提交
  23. 01 11月, 2012 1 次提交
  24. 26 10月, 2012 1 次提交
  25. 29 9月, 2012 4 次提交