1. 10 5月, 2012 2 次提交
  2. 27 4月, 2012 3 次提交
  3. 15 4月, 2012 1 次提交
  4. 24 3月, 2012 1 次提交
  5. 17 3月, 2012 1 次提交
    • S
      netxen: qlogic ethernet : Fix endian bug. · 06d6c108
      Santosh Nayak 提交于
      Change the datatype of "ip_addr" to __be32 as 'ip' should be in
      big endian format.
      
      Adapter needs "ip address" in big endian format stored at lower 32bit
      of req.word[1]. netxen_config_ipaddr() now receives 'ip' in big endian
      format. To satisfy adapter's need, use memcpy() to copy byte by byte
      of 'ip' into lower 32bit of req.word[1].
      
      Mac address and serial number of adapter need to be in little endian format.
      Change the data type of the related  variables to __le32 / __le64 or cast it
      explicitly to __le32 / __le64 depending upon the requirement.
      Signed-off-by: NSantosh Nayak <santoshprasadnayak@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      06d6c108
  6. 07 3月, 2012 1 次提交
  7. 06 3月, 2012 1 次提交
  8. 24 2月, 2012 1 次提交
  9. 09 2月, 2012 2 次提交
  10. 05 2月, 2012 14 次提交
  11. 01 2月, 2012 2 次提交
  12. 09 12月, 2011 1 次提交
  13. 24 11月, 2011 1 次提交
    • T
      qlge: fix size of external list for TX address descriptors · 78242853
      Thadeu Lima de Souza Cascardo 提交于
      When transmiting a fragmented skb, qlge fills a descriptor with the
      fragment addresses, after DMA-mapping them. If there are more than eight
      fragments, it will use the eighth descriptor as a pointer to an external
      list. After mapping this external list, called OAL to a structure
      containing more descriptors, it fills it with the extra fragments.
      
      However, considering that systems with pages larger than 8KiB would have
      less than 8 fragments, which was true before commit a715dea3, it
      defined a macro for the OAL size as 0 in those cases.
      
      Now, if a skb with more than 8 fragments (counting skb->data as one
      fragment), this would start overwriting the list of addresses already
      mapped and would make the driver fail to properly unmap the right
      addresses on architectures with pages larger than 8KiB.
      
      Besides that, the list of mappings was one size too small, since it must
      have a mapping for the maxinum number of skb fragments plus one for
      skb->data and another for the OAL. So, even on architectures with page
      sizes 4KiB and 8KiB, a skb with the maximum number of fragments would
      make the driver overwrite its counter for the number of mappings, which,
      again, would make it fail to unmap the mapped DMA addresses.
      Signed-off-by: NThadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      78242853
  14. 23 11月, 2011 1 次提交
  15. 17 11月, 2011 1 次提交
  16. 09 11月, 2011 1 次提交
  17. 30 10月, 2011 4 次提交
  18. 19 10月, 2011 1 次提交
  19. 08 10月, 2011 1 次提交