kernel/usb4bsd: Use pci_alloc_1intr() for MSI allocation in xhci_pci.c.
authorImre Vadász <imre@vdsz.com>
Fri, 27 Jan 2017 12:28:39 +0000 (13:28 +0100)
committerImre Vadász <imre@vdsz.com>
Fri, 27 Jan 2017 12:34:37 +0000 (13:34 +0100)
commitffb0f32944e39dc752ec95a0f09ff25c6377421f
treeffb41a0ac707868c07bbe47c7aa37cd32d847f50
parent2c2175b343ca76ccf1f1c95b45752bdc7de7cd74
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.
sys/bus/u4b/controller/xhci_pci.c