On 01/12/2017 09:02 PM, Alexander Loktionov wrote:
> From: David VomLehn <voml...@texas.net>
> 
> Add functions that handle the PCI bus interface.
> 
> Signed-off-by: Alexander Loktionov <alexander.loktio...@aquantia.com>
> Signed-off-by: Dmitrii Tarakanov <dmitrii.taraka...@aquantia.com>
> Signed-off-by: Pavel Belous <pavel.bel...@aquantia.com>
> Signed-off-by: Dmitry Bezrukov <dmitry.bezru...@aquantia.com>
> Signed-off-by: David M. VomLehn <voml...@texas.net>
> ---

> +     /*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