1. 16 11月, 2009 1 次提交
  2. 04 11月, 2009 1 次提交
  3. 14 10月, 2009 1 次提交
    • S
      TI DaVinci EMAC: Clear statistics register properly. · 0fe7463a
      Sriram 提交于
      The mechanism to clear the statistics register is dependent
      on the status of GMIIEN bit in MAC control register. If the
      GMIIEN bit is set, the stats registers are write to decrement.
      If the GMIIEN bit is cleared, the stats registers are plain
      read/write registers. The stats register clearing operation
      must take into account the current state of GMIIEN as it
      can be cleared when the interface is brought down.
      
      With existing implementation logic, querying for interface stats
      when the interface is down, can corrupt the statistics counters.
      This patch examines the GMIIEN bit status in MAC_CONTROL
      register before choosing an appropriate mask for clearing stats
      registers.
      Signed-off-by: NSriramakrishnan <srk@ti.com>
      Acked-by: NChaithrika U S <chaithrika@ti.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0fe7463a
  4. 26 9月, 2009 1 次提交
  5. 03 9月, 2009 1 次提交
  6. 29 8月, 2009 1 次提交
  7. 09 7月, 2009 1 次提交
  8. 18 6月, 2009 1 次提交
  9. 04 6月, 2009 1 次提交
  10. 19 5月, 2009 1 次提交