View | Details | Raw Unified | Return to bug 235016
Collapse All | Expand All

(-)uart_bus_pci.c 2021-01-16 22:00:06.321333000 +0000 (-2 / +3 lines)
Lines 228-236 Link Here
228
228
229
       /*
229
       /*
230
        * Use MSI in preference to legacy IRQ if available.
230
        * Use MSI in preference to legacy IRQ if available.
231
        * Whilst some PCIe UARTs support >1 MSI vector, use only the first.
231
        * Whilst some PCIe UARTs support >1 MSI vector, use only support
232
        * UARTs using 1.
232
        */
233
        */
233
       if (pci_msi_count(dev) > 0) {
234
       if (pci_msi_count(dev) == 1) {
234
               count = 1;
235
               count = 1;
235
               if (pci_alloc_msi(dev, &count) == 0) {
236
               if (pci_alloc_msi(dev, &count) == 0) {
236
                       sc->sc_irid = 1;
237
                       sc->sc_irid = 1;

Return to bug 235016