glebius dfc409a7f8 Revamp interrupt handling in em(4) driver:
o Do not mask the RX overrun interrupt.

o Rewrite em_intr():
  - Axe EM_MAX_INTR.
  - Cycle acknowledging interrupts and processing
    packets until zero interrupt cause register is
    read.
  - If RX overrun comes in log this fact. [ NetBSD also
    resets adapter in this case, but my tests showed that
    this is not needed and only pessimizes behavior under
    heavy load. ]
  - Since almost all functions is rewritten, style the
    remaining lines.

This fixes em(4) interfaces wedging under high load.

In collaboration with:	wpaul, cognet
Obtained from:		NetBSD
2005-10-20 08:46:43 +00:00
..
2005-09-22 04:51:11 +00:00
2005-10-13 08:05:21 +00:00
2005-09-16 10:09:23 +00:00
2005-09-27 16:57:44 +00:00
2005-05-10 12:02:18 +00:00
2005-10-18 06:09:42 +00:00
2005-09-20 19:50:27 +00:00
2005-10-19 00:25:39 +00:00
2005-09-11 18:39:03 +00:00
2005-09-22 05:52:54 +00:00
2005-10-11 07:30:06 +00:00
2005-09-08 14:13:36 +00:00
2005-05-14 10:26:31 +00:00
2005-07-29 00:20:50 +00:00
2004-08-02 20:42:28 +00:00
2005-09-27 09:11:44 +00:00
2005-10-07 18:11:32 +00:00
2004-08-04 18:30:31 +00:00
2005-05-19 21:16:50 +00:00
2005-04-08 05:22:58 +00:00
2005-10-13 20:22:07 +00:00
2005-02-27 22:01:09 +00:00
2005-09-21 22:45:14 +00:00
2005-09-22 06:01:44 +00:00
2005-09-22 05:56:32 +00:00
2005-09-22 06:01:44 +00:00
2005-09-21 22:45:14 +00:00
2005-10-03 15:47:15 +00:00
2005-10-06 08:30:40 +00:00