1. 30 11月, 2009 3 次提交
  2. 29 11月, 2009 1 次提交
  3. 27 11月, 2009 3 次提交
    • B
      sfc: Simplify XMAC link polling · 9007b9fa
      Ben Hutchings 提交于
      From: Steve Hodgson <shodgson@solarflare.com>
      
      Only the XMAC on Falcon needs help from the driver to poll and reset
      the MAC-PHY link (XAUI); GMII is a simple parallel bus and on later
      NICs firmware takes care of the XAUI link.  Also, an XMAC interrupt
      currently schedules a work item which simply clears a flag
      (efx_nic::mac_up) to be checked by the regular monitor (or the next
      link reconfiguration, if that is sooner).
      
      Rename the flag to xmac_poll_required, changing its sense.  Remove the
      needless indirection and just set the flag immediately.  Call
      falcon_xmac_poll() directly where required.
      
      Add a new generic operation mac_op::check_fault to check the link
      outside of regular monitoring, as required during self-tests.
      
      (Note that this leaves us with an unused work item, but we will
      immediately have another use for it.)
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9007b9fa
    • B
      sfc: Split MAC stats DMA initiation and completion · 55edc6e6
      Ben Hutchings 提交于
      From: Steve Hodgson <shodgson@solarflare.com>
      
      Currently we initiate MAC stats DMA and busy-wait for completion when
      stats are requested.  We can improve on this with a periodic timer to
      initiate and poll for stats, and opportunistically poll when stats are
      requested.
      
      Since efx_nic::stats_disable_count and efx_stats_{disable,enable}()
      are Falcon-specific, rename them and move them accordingly.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      55edc6e6
    • B
      sfc: Treat all MAC registers as 128-bit · 80cb9a0f
      Ben Hutchings 提交于
      Although all the defined fields in these registers are within 32 bits,
      they are architecturally defined as 128-bit like most other Falcon
      registers.  In particular, we must use efx_reado() to ensure proper
      locking when reading MD_STAT_REG.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      80cb9a0f
  4. 25 11月, 2009 1 次提交
  5. 24 10月, 2009 3 次提交
  6. 27 8月, 2009 1 次提交
  7. 30 4月, 2009 1 次提交
  8. 13 12月, 2008 4 次提交
  9. 25 9月, 2008 1 次提交
  10. 03 9月, 2008 5 次提交
  11. 31 5月, 2008 1 次提交
  12. 22 5月, 2008 2 次提交
  13. 13 5月, 2008 4 次提交
  14. 29 4月, 2008 1 次提交