1. 16 2月, 2009 5 次提交
  2. 27 1月, 2009 1 次提交
  3. 20 1月, 2009 3 次提交
  4. 20 11月, 2008 8 次提交
  5. 04 11月, 2008 2 次提交
    • D
      drivers/net: Kill now superfluous ->last_rx stores. · babcda74
      David S. Miller 提交于
      The generic packet receive code takes care of setting
      netdev->last_rx when necessary, for the sake of the
      bonding ARP monitor.
      
      Drivers need not do it any more.
      
      Some cases had to be skipped over because the drivers
      were making use of the ->last_rx value themselves.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      babcda74
    • L
      mv643xx_eth: fix SMI bus access timeouts · ee04448d
      Lennert Buytenhek 提交于
      The mv643xx_eth mii bus implementation uses wait_event_timeout() to
      wait for SMI completion interrupts.
      
      If wait_event_timeout() would return zero, mv643xx_eth would conclude
      that the SMI access timed out, but this is not necessarily true --
      wait_event_timeout() can also return zero in the case where the SMI
      completion interrupt did happen in time but where it took longer than
      the requested timeout for the process performing the SMI access to be
      scheduled again.  This would lead to occasional SMI access timeouts
      when the system would be under heavy load.
      
      The fix is to ignore the return value of wait_event_timeout(), and
      to re-check the SMI done bit after wait_event_timeout() returns to
      determine whether or not the SMI access timed out.
      Signed-off-by: NLennert Buytenhek <buytenh@marvell.com>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      ee04448d
  6. 28 10月, 2008 1 次提交
  7. 09 10月, 2008 3 次提交
  8. 01 10月, 2008 1 次提交
  9. 20 9月, 2008 2 次提交
  10. 19 9月, 2008 3 次提交
  11. 14 9月, 2008 7 次提交
  12. 05 9月, 2008 4 次提交
    • L
      mv643xx_eth: transmit multiqueue support · e5ef1de1
      Lennert Buytenhek 提交于
      As all the infrastructure for multiple transmit queues already exists
      in the driver, this patch is entirely trivial.
      
      The individual transmit queues are still serialised by the driver's
      per-port private spinlock, but that will disappear (i.e. be replaced
      by the per-subqueue ->_xmit_lock) in a subsequent patch.
      Signed-off-by: NLennert Buytenhek <buytenh@marvell.com>
      e5ef1de1
    • L
      mv643xx_eth: delete unused and uninteresting interrupt source mask bits · befefe21
      Lennert Buytenhek 提交于
      Delete a couple of unused and uninteresting interrupt source mask bits:
      - The receive resource underrun interrupt sources are uninteresting
        because if we are in out-of-memory mode, we are already dealing with
        the issue, and we don't need the hardware to remind us again that we
        are out of memory.
      - The LINK and PHY interrupt sources can be coalesced into one define,
        since we always use them together.
      - The transmit resource underrun interrupt source can be disabled since
        we never activate the head descriptor of a paged skb until the
        fragments are all activated, so transmit underrun during a packet
        should never happen.
      - The INT_EXT_TX_0 define is never used.
      Signed-off-by: NLennert Buytenhek <buytenh@marvell.com>
      befefe21
    • L
      mv643xx_eth: get rid of netif_{stop,wake}_queue() calls on link down/up · 4fdeca3f
      Lennert Buytenhek 提交于
      There is no need to call netif_{stop,wake}_queue() when the link goes
      down/up, as the networking already takes care of this internally.
      Signed-off-by: NLennert Buytenhek <buytenh@marvell.com>
      4fdeca3f
    • L
      mv643xx_eth: remove force_phy_addr field · ac840605
      Lennert Buytenhek 提交于
      Currently, there are two different fields in the
      mv643xx_eth_platform_data struct that together describe the PHY
      address -- one field (phy_addr) has the address of the PHY, but if
      that address is zero, a second field (force_phy_addr) needs to be
      set to distinguish the actual address zero from a zero due to not
      having filled in the PHY address explicitly (which should mean
      'use the default PHY address').
      
      If we are a bit smarter about the encoding of the phy_addr field,
      we can avoid the need for a second field -- this patch does that.
      Signed-off-by: NLennert Buytenhek <buytenh@marvell.com>
      ac840605