1. 23 2月, 2010 1 次提交
  2. 13 2月, 2010 1 次提交
  3. 17 11月, 2009 2 次提交
  4. 02 11月, 2009 1 次提交
  5. 28 10月, 2009 1 次提交
    • F
      NET/KS8695: add support NAPI for Rx · 31b73ab3
      Figo.zhang 提交于
      Add support NAPI Rx API for KS8695NET driver.
      
      v2, change the Rx function to NAPI.
      
      in <KS8695X Integrated Multi-port Gateway Solution Register Description
       v1.0>:
      
      Interrupt Enable Register (offset 0xE204)
      Bit29 : WAN MAC Receive Interrupt Enable
      Bit16 : LAN MAC Receive Interrupt Enable
      
      Interrupt Status Register (Offset 0xF208)
      Bit29: WAN MAC Receive Status
      Bit16: LAN MAC Receive Status
      
      see arch/arm/mach-ks8695/devices.c:
      ks8695_wan_resources[] and ks8695_lan_resources[]
      have IORESOURCE_IRQ , it have define the RX irq,
      for wan, irq = 29; for lan ,irq = 16.
      so we can do this read the interrupt status:
      
      unsigned long mask_bit = 1 << ksp->rx_irq;
      status = readl(KS8695_IRQ_VA + KS8695_INTST);
      Signed-off-by: NFigo.zhang <figo1802@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      31b73ab3
  6. 03 9月, 2009 1 次提交
  7. 02 9月, 2009 1 次提交
  8. 25 3月, 2009 1 次提交
  9. 04 3月, 2009 1 次提交
  10. 27 1月, 2009 1 次提交
  11. 11 1月, 2009 1 次提交
  12. 30 12月, 2008 1 次提交
  13. 12 12月, 2008 1 次提交