cvs commit: src/sys/dev/em if_em.c
Gleb Smirnoff
glebius at FreeBSD.org
Tue Jun 6 08:10:31 UTC 2006
glebius 2006-06-06 08:03:49 UTC
FreeBSD src repository
Modified files:
sys/dev/em if_em.c
Log:
The procedure of raceless switching between polling mode and
taskqueued interrupt mode is going to be quite complex. Since
the polling mode is considered legacy feature for em(4) driver,
the decision is made to make polling and new interrupt handler
mutually exclusive, selected at compile time.
If kernel is compiled with DEVICE_POLLING, the fast taskqueued
interrupt handler code is disabled and the em_poll() and legacy
em_intr() functions are enabled. Otherwise, legacy functions
are disabled and only em_intr_fast() code is compiled.
Discussed with: scottl
Revision Changes Path
1.116 +102 -105 src/sys/dev/em/if_em.c
More information about the cvs-src
mailing list