mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
31b73ab3ef
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> |
||
---|---|---|
.. | ||
am79c961a.c | ||
am79c961a.h | ||
at91_ether.c | ||
at91_ether.h | ||
ep93xx_eth.c | ||
ether1.c | ||
ether1.h | ||
ether3.c | ||
ether3.h | ||
etherh.c | ||
ixp4xx_eth.c | ||
Kconfig | ||
ks8695net.c | ||
ks8695net.h | ||
Makefile | ||
w90p910_ether.c |