Permalink
Browse files

jme: Change polling(4) support to ifpoll support

While I'm here, fix the disable/enable intr handing.
  • Loading branch information...
1 parent 97cc174 commit 8a0620e4fb37b67e0243c240ec84cf464a77e9d1 Sepherosa Ziehau committed Sep 24, 2012
Showing with 227 additions and 46 deletions.
  1. +4 −4 sys/dev/netif/jme/Makefile
  2. +220 −42 sys/dev/netif/jme/if_jme.c
  3. +3 −0 sys/dev/netif/jme/if_jmevar.h
@@ -3,15 +3,15 @@
KMOD= if_jme
SRCS= if_jme.c
SRCS+= miibus_if.h device_if.h bus_if.h pci_if.h
-SRCS+= opt_polling.h opt_jme.h
+SRCS+= opt_ifpoll.h opt_jme.h
.ifndef BUILDING_WITH_KERNEL
-opt_polling.h:
- echo '#define DEVICE_POLLING 1' > ${.OBJDIR}/${.TARGET}
+opt_ifpoll.h:
+ touch ${.OBJDIR}/${.TARGET}
opt_jme.h:
- echo '#define JME_RSS_DEBUG 1' > ${.OBJDIR}/${.TARGET}
+ touch ${.OBJDIR}/${.TARGET}
.endif
Oops, something went wrong. Retry.

0 comments on commit 8a0620e

Please sign in to comment.