aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorFigo.zhang <figo1802@gmail.com>2009-10-28 03:55:24 -0700
committerDavid S. Miller <davem@davemloft.net>2009-10-28 03:55:24 -0700
commit31b73ab3efaa9c69bc72e04605c85ff8c8047b11 (patch)
treea5c0afe8ef0975ed4b3482056a39e3c5055a85b2 /net/ipv4/tcp_input.c
parentigb: Fix warnings in igb_set_ringparam() (diff)
downloadlinux-dev-31b73ab3efaa9c69bc72e04605c85ff8c8047b11.tar.xz
linux-dev-31b73ab3efaa9c69bc72e04605c85ff8c8047b11.zip
NET/KS8695: add support NAPI for Rx
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: Figo.zhang <figo1802@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions