1. 13 9月, 2008 1 次提交
  2. 31 8月, 2008 1 次提交
  3. 30 7月, 2008 1 次提交
  4. 18 7月, 2008 1 次提交
  5. 02 7月, 2008 1 次提交
  6. 12 5月, 2008 1 次提交
  7. 04 5月, 2008 1 次提交
  8. 25 4月, 2008 2 次提交
  9. 29 2月, 2008 1 次提交
  10. 20 2月, 2008 1 次提交
  11. 19 2月, 2008 2 次提交
  12. 29 1月, 2008 1 次提交
  13. 17 1月, 2008 1 次提交
  14. 10 1月, 2008 1 次提交
    • M
      [NIU]: Support for Marvell PHY · b0de8e40
      Mirko Lindner 提交于
      From: Mirko Lindner <mlindner@marvell.com>
      
      This patch makes necessary changes in the Neptune driver to support 
      the new Marvell PHY. It also adds support for the LED blinking
      on Neptune cards with Marvell PHY. All registers are using defines
      in the niu.h header file as is already done for the BCM8704 registers.
      
      [ Coding style, etc. cleanups -DaveM ]
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b0de8e40
  15. 09 1月, 2008 4 次提交
    • D
      cb77df3e
    • D
      [NIU]: Fix potentially stuck TCP socket send queues. · 3ebebccf
      David S. Miller 提交于
      It is possible for the TX ring to have packets sit in it for unbounded
      amounts of time.
      
      The only way to defer TX interrupts in the chip is to periodically set
      "mark" bits, when processing of a TX descriptor with the mark bit set
      is complete it triggers the interrupt for the TX queue's LDG.
      
      A consequence of this kind of scheme is that if packet flow suddenly
      stops, the remaining TX packets will just sit there.
      
      If this happens, since those packets could be charged to TCP socket
      send queues, such sockets could get stuck.
      
      The simplest solution is to divorce the socket ownership of the packet
      once the device takes the SKB, by using skb_orphan() in
      niu_start_xmit().
      
      In hindsight, it would have been much nicer if the chip provided two
      interrupt sources for TX (like basically every other ethernet chip
      does).  Namely, keep the "mark" bit, but also signal the LDG when the
      TX queue becomes completely empty.  That way there is no need to have
      a deadlock breaker like this.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3ebebccf
    • D
      [NIU]: Missing ->last_rx update. · 792dd90f
      David S. Miller 提交于
      Noticed by Paul Lodridge.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      792dd90f
    • M
      [NIU]: Fix slowpath interrupt handling. · 406f353c
      Matheos Worku 提交于
      niu_slowpath_interrupt() expects values to be setup in lp->{v0,v1,v2}
      but they aren't.  That's only done by niu_schedule_napi() which is
      done later in the interrupt path.
      
      If niu_rx_error() returns zero, and v0 is clear, hit the
      RX_DMA_CTL_STATE register with a RX_DMA_CTL_STAT_MEX.
      
      Only emit verbose RX error logs if a fatal channel or port error is
      signalled.  Other cases will be recorded into statistics by
      niu_log_rxchan_errors().
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      406f353c
  16. 07 12月, 2007 1 次提交
  17. 22 10月, 2007 1 次提交
    • O
      [NIU]: Cleanup PAGE_SIZE checks a bit · 81429973
      Olof Johansson 提交于
      I get the following warning from a powerpc allyesconfig of current
      mainline:
      
      drivers/net/niu.c: In function 'niu_size_rbr':
      drivers/net/niu.c:3113: warning: large integer implicitly truncated to unsigned type
      
      PAGE_SIZE in this case is 64KB, so I don't quite get why gcc can't
      tell that the line in question will never be reached.
      
      I suggest the following instead, but I can unfortunately not do
      anything but build test it.
      
      Also, the driver does some other checks to make sure that PAGE_SIZE is
      a power of two (BUILD_BUG_ON() in niu_init()), doesn't seem like that
      could ever be untrue? Or are there really archs with non-power-of-two
      PAGE_SIZE?
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      81429973
  18. 16 10月, 2007 2 次提交
  19. 11 10月, 2007 1 次提交