1. 22 9月, 2017 3 次提交
  2. 03 8月, 2017 2 次提交
  3. 14 6月, 2017 1 次提交
  4. 22 4月, 2017 1 次提交
  5. 29 3月, 2017 1 次提交
  6. 23 3月, 2017 1 次提交
  7. 11 2月, 2017 1 次提交
  8. 09 12月, 2016 1 次提交
  9. 06 12月, 2016 1 次提交
  10. 19 11月, 2016 1 次提交
  11. 16 11月, 2016 1 次提交
  12. 03 11月, 2016 1 次提交
  13. 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
  14. 12 10月, 2016 1 次提交
  15. 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
  16. 14 8月, 2016 1 次提交
  17. 05 5月, 2016 1 次提交
  18. 29 4月, 2016 2 次提交
  19. 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
  20. 19 3月, 2016 2 次提交
  21. 01 3月, 2016 3 次提交
  22. 29 1月, 2016 3 次提交
  23. 08 1月, 2016 2 次提交
  24. 29 9月, 2015 1 次提交
  25. 23 9月, 2015 1 次提交
  26. 18 9月, 2015 5 次提交