git: if_iwm: Fix interrupt allocation code, use pci_alloc_1intr as usual

Imre Vadasz ivadasz at crater.dragonflybsd.org
Fri Oct 16 08:20:12 PDT 2015


commit af1faf79b524975c6287fac504e1c04501e62b38
Author: Imre Vadász <imre at vdsz.com>
Date:   Wed Oct 14 22:57:41 2015 +0200

    if_iwm: Fix interrupt allocation code, use pci_alloc_1intr as usual
    
    Just allocate the interrupt like (almost) all other network drivers,
    by using pci_alloc_1intr(). MSI interrupt can be disabled for iwm,
    by setting the tunable hw.iwm.msi.enable=0 in the loader.conf.

Summary of changes:
 sys/dev/netif/iwm/if_iwm.c | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list