summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/em/if_em.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c
index 724cbc4..d8bf16b 100644
--- a/sys/dev/em/if_em.c
+++ b/sys/dev/em/if_em.c
@@ -1050,7 +1050,10 @@ em_intr(void *arg)
for (;;) {
reg_icr = E1000_READ_REG(&adapter->hw, ICR);
- if (reg_icr == 0)
+ if (adapter->hw.mac_type >= em_82571 &&
+ (reg_icr & E1000_ICR_INT_ASSERTED) == 0)
+ break;
+ else if (reg_icr == 0)
break;
if (ifp->if_drv_flags & IFF_DRV_RUNNING) {
OpenPOWER on IntegriCloud