An error occurred fetching the project authors.
  1. 19 Aug, 2009 2 commits
  2. 14 Aug, 2009 10 commits
  3. 04 Aug, 2009 1 commit
    • Mike McCormack's avatar
      sky2: Avoid transmits during sky2_down() · f6caa14a
      Mike McCormack authored
      This patch supersedes my previous patch "sky2: Avoid transmitting
      during sky2_restart".
      
      I have reworked the patch to avoid crashes during both sky2_restart()
      and sky2_set_ringparam().
      
      Without this patch, the sky2 driver can be crashed by doing:
      
      # pktgen eth1 &    (transmit many packets on eth1)
      # ethtool -G eth1 tx 510
      
      I am aware you object to storing extra state, but I can't see a way
      around this. Without remembering that we're restarting,
      netif_wake_queue() is called in the ISR from sky2_tx_complete(), and
      netif_tx_lock() is used in sky2_tx_done().  If anybody can see a way
      around this, please let me know.
      Signed-off-by: default avatarMike McCormack <mikem@ring3k.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f6caa14a
  4. 27 Jul, 2009 1 commit
  5. 22 Jul, 2009 1 commit
  6. 17 Jul, 2009 1 commit
  7. 26 Jun, 2009 1 commit
    • Anton Vorontsov's avatar
      sky2: Fix checksum endianness · b9389796
      Anton Vorontsov authored
      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: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b9389796
  8. 18 Jun, 2009 9 commits
  9. 16 Jun, 2009 1 commit
    • Stephen Hemminger's avatar
      sky2: don't look for VPD size · 6cc90a5a
      Stephen Hemminger authored
      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: default avatarStephen Hemminger <shemminger@vyatta.com>
      Tested-by: default avatarAndy Whitcroft <apw@canonical.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6cc90a5a
  10. 29 May, 2009 1 commit
  11. 07 Apr, 2009 2 commits
  12. 03 Feb, 2009 4 commits
  13. 30 Jan, 2009 1 commit
  14. 21 Nov, 2008 1 commit
  15. 20 Nov, 2008 1 commit
  16. 28 Oct, 2008 1 commit
  17. 13 Oct, 2008 1 commit
  18. 03 Sep, 2008 1 commit