cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h

David Christensen davidch at broadcom.com
Thu Dec 14 16:10:23 PST 2006


John,

MSI capabilities registers are present on virtually all "bge"
controllers but many of the "older" controllers don't correctly support
MSI due to a chip errata that prevents MSI interrupts from actually
being disabled during an ISR.  Check the Linux code for the test used in
tg3_open() which determines which controllers can actually use MSI
correctly.  

Even with the bug the older controllers will appear to work correctly on
a heavily loaded system for short periods of time (sometimes even days)
but they will eventually fail.

Dave

> -----Original Message-----
> From: owner-src-committers at FreeBSD.org 
> [mailto:owner-src-committers at FreeBSD.org] On Behalf Of John Polstra
> Sent: Thursday, December 14, 2006 3:10 PM
> To: src-committers at FreeBSD.org; cvs-src at FreeBSD.org; 
> cvs-all at FreeBSD.org
> Subject: cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h
> 
> jdp         2006-12-14 23:10:13 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/bge          if_bge.c if_bgereg.h 
>   Log:
>   Add MSI support to the bge driver.  I tested this on a Dell SC1435
>   running an i386 kernel, and it worked fine.
>   
>   Revision  Changes    Path
>   1.164     +18 -4     src/sys/dev/bge/if_bge.c
>   1.62      +1 -0      src/sys/dev/bge/if_bgereg.h
> 
> 



More information about the cvs-all mailing list