1. 21 8月, 2013 1 次提交
  2. 10 8月, 2013 1 次提交
  3. 03 8月, 2013 1 次提交
  4. 29 6月, 2013 1 次提交
  5. 20 4月, 2013 2 次提交
  6. 18 3月, 2013 1 次提交
  7. 05 2月, 2013 1 次提交
  8. 06 12月, 2012 1 次提交
    • A
      myri10ge: fix most sparse warnings · 59e955ed
      Andrew Gallatin 提交于
      - convert remaining htonl/ntohl +__raw_read/__raw_writel to
        swab32 + readl/writel
      - add missing __iomem qualifier in myri10ge_open()
      - fix  dubious: x & !y warning by switching from logical to bitwise not
      
      The swab32 conversion fixes a bug in myri10ge_led() where
      big-endian machines would write the wrong pattern.
      
      The only remaining warning (lock context imbalance) is due to
      the use of __netif_tx_trylock(), and cannot easily be fixed.
      Signed-off-by: NAndrew Gallatin <gallatin@myri.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      59e955ed
  9. 02 12月, 2012 1 次提交
  10. 01 12月, 2012 2 次提交
  11. 24 8月, 2012 1 次提交
  12. 05 7月, 2012 1 次提交
  13. 07 4月, 2012 1 次提交
  14. 01 2月, 2012 1 次提交
  15. 17 11月, 2011 1 次提交
  16. 21 10月, 2011 1 次提交
  17. 19 10月, 2011 1 次提交
  18. 07 10月, 2011 1 次提交
  19. 06 10月, 2011 1 次提交
  20. 18 8月, 2011 1 次提交
  21. 11 8月, 2011 1 次提交
  22. 29 6月, 2011 8 次提交
  23. 22 6月, 2011 1 次提交
  24. 21 6月, 2011 1 次提交
  25. 09 6月, 2011 1 次提交
  26. 06 6月, 2011 1 次提交
  27. 23 5月, 2011 2 次提交
    • P
      Add appropriate <linux/prefetch.h> include for prefetch users · 70c71606
      Paul Gortmaker 提交于
      After discovering that wide use of prefetch on modern CPUs
      could be a net loss instead of a win, net drivers which were
      relying on the implicit inclusion of prefetch.h via the list
      headers showed up in the resulting cleanup fallout.  Give
      them an explicit include via the following $0.02 script.
      
       =========================================
       #!/bin/bash
       MANUAL=""
       for i in `git grep -l 'prefetch(.*)' .` ; do
       	grep -q '<linux/prefetch.h>' $i
       	if [ $? = 0 ] ; then
       		continue
       	fi
      
       	(	echo '?^#include <linux/?a'
       		echo '#include <linux/prefetch.h>'
       		echo .
       		echo w
       		echo q
       	) | ed -s $i > /dev/null 2>&1
       	if [ $? != 0 ]; then
       		echo $i needs manual fixup
       		MANUAL="$i $MANUAL"
       	fi
       done
       echo ------------------- 8\<----------------------
       echo vi $MANUAL
       =========================================
      Signed-off-by: NPaul <paul.gortmaker@windriver.com>
      [ Fixed up some incorrect #include placements, and added some
        non-network drivers and the fib_trie.c case    - Linus ]
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      70c71606
    • P
      drivers/net: add prefetch header for prefetch users · c0cba59e
      Paul Gortmaker 提交于
      After discovering that wide use of prefetch on modern CPUs
      could be a net loss instead of a win, net drivers which were
      relying on the implicit inclusion of prefetch.h via the list
      headers showed up in the resulting cleanup fallout.  Give
      them an explicit include via the following $0.02 script.
      
       =========================================
       #!/bin/bash
       MANUAL=""
       for i in `git grep -l 'prefetch(.*)' .` ; do
       	grep -q '<linux/prefetch.h>' $i
       	if [ $? = 0 ] ; then
       		continue
       	fi
      
       	(	echo '?^#include <linux/?a'
       		echo '#include <linux/prefetch.h>'
       		echo .
       		echo w
       		echo q
       	) | ed -s $i > /dev/null 2>&1
       	if [ $? != 0 ]; then
       		echo $i needs manual fixup
       		MANUAL="$i $MANUAL"
       	fi
       done
       echo ------------------- 8\<----------------------
       echo vi $MANUAL
       =========================================
      Signed-off-by: NPaul <paul.gortmaker@windriver.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c0cba59e
  28. 30 4月, 2011 1 次提交
    • D
      ethtool: cosmetic: Use ethtool ethtool_cmd_speed API · 70739497
      David Decotigny 提交于
      This updates the network drivers so that they don't access the
      ethtool_cmd::speed field directly, but use ethtool_cmd_speed()
      instead.
      
      For most of the drivers, these changes are purely cosmetic and don't
      fix any problem, such as for those 1GbE/10GbE drivers that indirectly
      call their own ethtool get_settings()/mii_ethtool_gset(). The changes
      are meant to enforce code consistency and provide robustness with
      future larger throughputs, at the expense of a few CPU cycles for each
      ethtool operation.
      
      All drivers compiled with make allyesconfig ion x86_64 have been
      updated.
      
      Tested: make allyesconfig on x86_64 + e1000e/bnx2x work
      Signed-off-by: NDavid Decotigny <decot@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      70739497
  29. 19 4月, 2011 1 次提交
  30. 31 3月, 2011 1 次提交