git: kernel/usb4bsd: Use pci_alloc_1intr() for MSI allocation in xhci_pci.c.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Fri Jan 27 04:35:27 PST 2017


commit ffb0f32944e39dc752ec95a0f09ff25c6377421f
Author: Imre Vadász <imre at vdsz.com>
Date:   Fri Jan 27 13:28:39 2017 +0100

    kernel/usb4bsd: Use pci_alloc_1intr() for MSI allocation in xhci_pci.c.
    
    * The existing pci_alloc_msi() call was still expecting the FreeBSD API,
      causing a panic on single-cpu machines when trying to allocate an MSI.
      SMP machines didn't panic, but were accidentally always using CPU1 for
      the xhci MSI interrupt.

Summary of changes:
 sys/bus/u4b/controller/xhci_pci.c | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list