freebsd-dev/sys/dev/dc
Pyun YongHyeon a84b4e80ca Rearrange interrupt handler a bit and remove forever loop.
Previously dc(4) always checked whether there is pending interrupts
and this consumed a lot of CPU cycles in interrupt handler. Limit
the number of processing for TX/RX frames to 16. Also allow sending
frames in the loop not to starve TX under high RX load.
Reading DC_ISR register should be protected with driver lock,
otherwise interrupt handler could be run(e.g. link state change)
before the completion of dc_init_locked().

While I'm here remove unneeded code.
2011-02-19 01:37:28 +00:00
..
dcphy.c - Even after masking the media with IFM_GMASK the result may have bits 2011-01-14 20:26:59 +00:00
if_dc.c Rearrange interrupt handler a bit and remove forever loop. 2011-02-19 01:37:28 +00:00
if_dcreg.h For controllers that have TX interrupt moderation capability, 2011-02-18 20:38:05 +00:00
pnphy.c - Even after masking the media with IFM_GMASK the result may have bits 2011-01-14 20:26:59 +00:00