1. 22 7月, 2009 1 次提交
  2. 17 7月, 2009 1 次提交
  3. 27 6月, 2009 1 次提交
    • A
      sky2: Fix checksum endianness · b9389796
      Anton Vorontsov 提交于
      sky2 driver on PowerPC targets floods kernel log with following errors:
      
        eth1: hw csum failure.
        Call Trace:
        [ef84b8a0] [c00075e4] show_stack+0x50/0x160 (unreliable)
        [ef84b8d0] [c02fa178] netdev_rx_csum_fault+0x3c/0x5c
        [ef84b8f0] [c02f6920] __skb_checksum_complete_head+0x7c/0x84
        [ef84b900] [c02f693c] __skb_checksum_complete+0x14/0x24
        [ef84b910] [c0337e08] tcp_v4_rcv+0x4c8/0x6f8
        [ef84b940] [c031a9c8] ip_local_deliver+0x98/0x210
        [ef84b960] [c031a788] ip_rcv+0x38c/0x534
        [ef84b990] [c0300338] netif_receive_skb+0x260/0x36c
        [ef84b9c0] [c025de00] sky2_poll+0x5dc/0xcf8
        [ef84ba20] [c02fb7fc] net_rx_action+0xc0/0x144
      
      The NIC is Yukon-2 EC chip revision 1.
      
      Converting checksum field from le16 to CPU byte order fixes the issue.
      Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b9389796
  4. 18 6月, 2009 9 次提交
  5. 16 6月, 2009 1 次提交
    • S
      sky2: don't look for VPD size · 6cc90a5a
      Stephen Hemminger 提交于
      The code to compute VPD size didn't handle some systems that use
      chip without VPD. Also some of the newer chips use some additional
      registers to store the actual size, and wasn't worth putting the
      additional complexity in, so just remove the code.
      
      No big loss since the code to set the VPD size was only a
      convenience so that utilities would not read the extra space past
      the end of the available VPD.
      
      Move the first PCI config read earlier to detect bad hardware
      where it returns all ones and refuse loading driver before furthur
      damage.
      Signed-off-by: NStephen Hemminger <shemminger@vyatta.com>
      Tested-by: NAndy Whitcroft <apw@canonical.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6cc90a5a
  6. 29 5月, 2009 1 次提交
  7. 07 4月, 2009 2 次提交
  8. 04 2月, 2009 4 次提交
  9. 31 1月, 2009 1 次提交
  10. 21 11月, 2008 1 次提交
  11. 20 11月, 2008 1 次提交
  12. 28 10月, 2008 1 次提交
  13. 13 10月, 2008 1 次提交
  14. 03 9月, 2008 2 次提交
  15. 14 8月, 2008 2 次提交
  16. 07 8月, 2008 1 次提交
  17. 23 7月, 2008 1 次提交
  18. 18 6月, 2008 6 次提交
  19. 11 6月, 2008 1 次提交
  20. 31 5月, 2008 2 次提交