Skip to contentSkip to conversation

MSI: Consolidate MSI-X irq freeing code

PATCH Eric W. Biederman 1 participant 1 message Mar 28, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Eric W. Biederman

author Acked-by
#1 lore raw
Quoted 5 lines · Michael Ellerman

For the MSI-X case we do exactly the same logic in pci_disable_msix() and msi_remove_pci_irq_vectors(), so consolidate them.

msi_remove_pci_irq_vectors() wasn't setting dev->first_msi_irq to 0, but I think it should have been, so the consolidated version does.