On 01/12/2017 09:02 PM, Alexander Loktionov wrote:
> From: David VomLehn <[email protected]>
> 
> Add functions that handle the PCI bus interface.
> 
> Signed-off-by: Alexander Loktionov <[email protected]>
> Signed-off-by: Dmitrii Tarakanov <[email protected]>
> Signed-off-by: Pavel Belous <[email protected]>
> Signed-off-by: Dmitry Bezrukov <[email protected]>
> Signed-off-by: David M. VomLehn <[email protected]>
> ---

> +     /*enable interrupts */
> +#if AQ_CFG_FORCE_LEGACY_INT
> +     self->irq_type = AQ_IRQ_LEGACY;
> +#else
> +     err = pci_enable_msix(self->pdev, self->msix_entry,
> +                           self->aq_hw_caps.msix_irqs);

You should really try MSI(x) first and fallback to leagcy PCI INT# if
you cannot succeed, asking for a driver rebuild to switch between these
behaviors may not be an option for most people (a module parameter may
be an option but is usually not such a great idea).
-- 
Florian

Reply via email to