Author: jfv
Date: Fri Apr  9 21:16:45 2010
New Revision: 206430
URL: http://svn.freebsd.org/changeset/base/206430

Log:
  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.

Modified:
  head/sys/dev/e1000/if_igb.c

Modified: head/sys/dev/e1000/if_igb.c
==============================================================================
--- head/sys/dev/e1000/if_igb.c Fri Apr  9 18:42:15 2010        (r206429)
+++ head/sys/dev/e1000/if_igb.c Fri Apr  9 21:16:45 2010        (r206430)
@@ -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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to