Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Apr 2010 21:16:45 +0000 (UTC)
From:      Jack F Vogel <jfv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r206430 - head/sys/dev/e1000
Message-ID:  <201004092116.o39LGkix069340@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004092116.o39LGkix069340>