1. 03 8月, 2017 2 次提交
  2. 14 6月, 2017 1 次提交
  3. 22 4月, 2017 1 次提交
  4. 29 3月, 2017 1 次提交
  5. 23 3月, 2017 1 次提交
  6. 11 2月, 2017 1 次提交
  7. 09 12月, 2016 1 次提交
  8. 06 12月, 2016 1 次提交
  9. 19 11月, 2016 1 次提交
  10. 16 11月, 2016 1 次提交
  11. 03 11月, 2016 1 次提交
  12. 21 10月, 2016 1 次提交
    • J
      net: use core MTU range checking in USB NIC drivers · f77f0aee
      Jarod Wilson 提交于
      usbnet:
      - Remove stale new_mtu <= 0 check in usbnet.c
      - Set min_mtu = 0, max_mtu = 65535 (sub-drivers must set their own
        max_mtu and/or min_mtu as needed)
      
      r8152:
      - Set appropriate max_mtu for different variants (1500 or 9194)
      
      lan78xx:
      - Set max_mtu = 9000
      
      asix_driver:
      - max_mtu = 16384 for ax88178 variant
      
      ax88179:
      - max_mtu = 4088
      
      cdc_ncm:
      - max_mtu from hardware
      
      cdc-phonet:
      - min_mtu = 6, max_mtu = 65541
      
      sierra_net:
      - max_mtu = 1500, call usbnet_change_mtu directly
      - sierra_net_change_mtu checked for MTU > 1500, then called
        usbnet_change_mtu, but if we set max_mtu to let the network core handle
        the range check, then we can simply call usbnet_change_mtu directly
      
      smsc75xx:
      - max_mtu = 9000
      
      CC: netdev@vger.kernel.org
      CC: Woojung Huh <woojung.huh@microchip.com>
      CC: Microchip Linux Driver Support <UNGLinuxDriver@microchip.com>
      CC: Hayes Wang <hayeswang@realtek.com>
      CC: Oliver Neukum <oneukum@suse.com>
      CC: Steve Glendinning <steve.glendinning@shawell.net>
      Signed-off-by: NJarod Wilson <jarod@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f77f0aee
  13. 12 10月, 2016 1 次提交
  14. 07 9月, 2016 1 次提交
    • B
      lan78xx: mark symbols static where possible · e0c79ff6
      Baoyou Xie 提交于
      We get a few warnings when building kernel with W=1:
      drivers/net/usb/lan78xx.c:1182:6: warning: no previous prototype for 'lan78xx_defer_kevent' [-Wmissing-prototypes]
      drivers/net/usb/lan78xx.c:1409:5: warning: no previous prototype for 'lan78xx_nway_reset' [-Wmissing-prototypes]
      drivers/net/usb/lan78xx.c:2000:5: warning: no previous prototype for 'lan78xx_set_mac_addr' [-Wmissing-prototypes]
      ....
      
      In fact, these functions are only used in the file in which they are
      declared and don't need a declaration, but can be made static.
      so this patch marks these functions with 'static'.
      Signed-off-by: NBaoyou Xie <baoyou.xie@linaro.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e0c79ff6
  15. 14 8月, 2016 1 次提交
  16. 05 5月, 2016 1 次提交
  17. 29 4月, 2016 2 次提交
  18. 21 3月, 2016 1 次提交
    • D
      Revert "lan78xx: add ndo_get_stats64" · 1c191307
      David S. Miller 提交于
      This reverts commit a59f8c5b.
      
      There are several bugs in this new code, for example:
      
      1) Uses sleeping locks in get_stats64, which is not allowed,
         as the operation can be invoked in an atomic context.
      
      2) Uses PM fields without CONFIG_PM or similar guards.
      
      3) Does not synchronize HW stats when the device runtime
         suspends.
      
      Therefore this is being reverted until a correct version
      is implemented.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1c191307
  19. 19 3月, 2016 2 次提交
  20. 01 3月, 2016 3 次提交
  21. 29 1月, 2016 3 次提交
  22. 08 1月, 2016 2 次提交
  23. 29 9月, 2015 1 次提交
  24. 23 9月, 2015 1 次提交
  25. 18 9月, 2015 5 次提交
  26. 07 9月, 2015 1 次提交
    • G
      lan78xx: Fix ladv/radv error handling in lan78xx_link_reset() · 99c79ece
      Geert Uytterhoeven 提交于
      net/usb/lan78xx.c: In function ‘lan78xx_link_reset’:
      net/usb/lan78xx.c:1107: warning: comparison is always false due to limited range of data type
      net/usb/lan78xx.c:1111: warning: comparison is always false due to limited range of data type
      
      Assigning return values that can be negative error codes to "u16"
      variables makes them positive, ignoring the errors.  Hence use "int"
      instead.
      
      Drop the "unlikely"s (unlikely considered harmful) and propagate the
      actual error values instead of overriding them to -EIO while we're at
      it.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      99c79ece
  27. 13 8月, 2015 2 次提交