summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2010-04-09 21:16:45 +0000
committerjfv <jfv@FreeBSD.org>2010-04-09 21:16:45 +0000
commit89b35580fdc0e488d325e65e4185fef7cda5a05e (patch)
treecfdb1e02452e2bc85b99f8c6d26ad5904a27eda8
parent5a5010e8db1d2fb43ba8bdf840b46fc1873ce949 (diff)
downloadFreeBSD-src-89b35580fdc0e488d325e65e4185fef7cda5a05e.zip
FreeBSD-src-89b35580fdc0e488d325e65e4185fef7cda5a05e.tar.gz
Thanks to Michael Tuexen for catching this, bit set that
keeps the clock from being reset when writing to EITR was incorrect, also there is a shared code #define for it anyway.
-rw-r--r--sys/dev/e1000/if_igb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/e1000/if_igb.c b/sys/dev/e1000/if_igb.c
index 7e0b183..3c79f6b 100644
--- a/sys/dev/e1000/if_igb.c
+++ b/sys/dev/e1000/if_igb.c
@@ -1453,7 +1453,7 @@ igb_msix_que(void *arg)
if (adapter->hw.mac.type == e1000_82575)
newitr |= newitr << 16;
else
- newitr |= 0x8000000;
+ newitr |= E1000_EITR_CNT_IGNR;
/* save for next interrupt */
que->eitr_setting = newitr;
OpenPOWER on IntegriCloud