1. 13 4月, 2011 1 次提交
    • D
      s2io: Fix warnings due to -Wunused-but-set-variable. · d83d282b
      David S. Miller 提交于
      Most of these are cases where we are trying to read back a register
      after a write to ensure completion.
      
      Simply pre-fixing the readl() or readq() with "(void)" is sufficient
      because these are volatile operations and the compiler cannot eliminate
      them just because no real assignment takes place.
      
      The case of free_rxd_blk()'s assignments to "struct buffAdd *ba" is a
      real spurious assignment as this variable is completely otherwise
      unused.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      Acked-by: NJon Mason <jdmason@kudzu.us>
      d83d282b
  2. 07 4月, 2011 1 次提交
  3. 31 3月, 2011 1 次提交
  4. 12 12月, 2010 2 次提交
  5. 26 8月, 2010 1 次提交
  6. 19 8月, 2010 1 次提交
  7. 27 7月, 2010 1 次提交
  8. 16 7月, 2010 1 次提交
  9. 03 7月, 2010 1 次提交
    • J
      s2io: resolve statistics issues · 4a490432
      Jon Mason 提交于
      This patch resolves a number of issues in the statistics gathering of
      the s2io driver.
      
      On Xframe adapters, the received multicast statistics counter includes
      pause frames which are not indicated to the driver.  This can cause
      issues where the multicast packet count is higher than what has actually
      been received, possibly higher than the number of packets received.
      
      The driver software counters are replaced with the adapter hardware
      statistics for rx_packets, rx_bytes, and tx_bytes.  It also uses the
      overflow registers to determine if the statistics wrapped the 32bit
      register (removing the window of having a statistic value less than the
      previous call).  rx_length_errors statistic now includes undersized
      packets in addition to oversized packets in its counting.  Finally,
      rx_crc_errors are now being counted.
      Signed-off-by: NJon Mason <jon.mason@exar.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4a490432
  10. 31 8月, 2009 1 次提交
  11. 08 6月, 2009 1 次提交
  12. 25 9月, 2008 1 次提交
  13. 11 7月, 2008 1 次提交
  14. 27 6月, 2008 1 次提交
    • A
      [netdrvr] Fix IOMMU overflow checking in s2io.c · 64c42f69
      Andi Kleen 提交于
      s2io has IOMMU overflow checking, but unfortunately it is wrong.
      
      It didn't use the standard macros, which meant that it only worked
      on POWER and SPARC because only those define DMA_ERROR_CODE. Convert it to
      use the standard macros instead.
      
      I also commented two more bugs in the IOMMU handling. It assumes
      that 0 DMA addresses cannot happen, but that's not true in all IOMMU setups.
      The information if a buffer has been already mapped needs to be stored
      elsewhere.
      
      Didn't fix those because it needs careful checking of the buffer handling
      by the maintainers.
      
      Cc: ram.vepa@neterion.com
      Cc: santosh.rastapur@neterion.com
      Cc: sivakumar.subramani@neterion.com
      Cc: sreenivasa.honnur@neterion.com
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      64c42f69
  15. 22 5月, 2008 2 次提交
  16. 13 5月, 2008 1 次提交
  17. 29 4月, 2008 1 次提交
  18. 25 4月, 2008 2 次提交
  19. 17 3月, 2008 3 次提交
  20. 03 2月, 2008 1 次提交
  21. 29 1月, 2008 2 次提交
  22. 20 10月, 2007 1 次提交
  23. 11 10月, 2007 10 次提交
  24. 31 7月, 2007 2 次提交