Skip to contentSkip to conversation

interrupt handling in the new aquantia ethernet driver

DISCUSSION Christoph Hellwig 1 participant 1 message Feb 9, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi David,

commit a4d36e20 ("net: ethernet: aquantia: PCI operations") adds some realy odd interrupt related code, including a call to the long gone pci_enable_msix() function. I first wondered how this compiles. but the code happens to be under

#if AQ_CFG_FORCE_LEGACY_INT

where AQ_CFG_FORCE_LEGACY_INT is defined to 0U, so it isn't compiled in, although probably not intentionally.

It would be good to a) kill that ifdef and b) either remove the MSI-X code entirely or switch it to the proper pci_alloc_irq_vectors API.