git: igb: Disable interrupts before setting up the interrupt vectors

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Mar 11 01:15:32 PDT 2013


commit d3c88389755667c3bdf494fca52a1e7a0c36fcd4
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Mar 11 16:15:00 2013 +0800

    igb: Disable interrupts before setting up the interrupt vectors
    
    The spurious interrupts (even MSI-X, that's amazing) had been observed
    on several types of LOMs, before the devices were initialized, which
    could potentially crash the system.  Disabling interrupts in hardware
    and on serializers before setting up the interrupt vectors should be
    enough.
    
    See-also: FreeBSD PR kern/172113

Summary of changes:
 sys/dev/netif/igb/if_igb.c | 7 +++++++
 1 file changed, 7 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d3c88389755667c3bdf494fca52a1e7a0c36fcd4


-- 
DragonFly BSD source repository



More information about the Commits mailing list