commit | fc4afc7b2bdd81e2dbded5a8222676d3161758d3 | [log] [tgz] |
---|---|---|
author | Michael Ellerman <michael@ellerman.id.au> | Thu Mar 22 21:51:33 2007 +1100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed May 02 19:02:36 2007 -0700 |
tree | f746cc18be366058a764e6cc3c3625efbfbb5765 | |
parent | 00ba16ab2658afe11d4fdcaf16a331292c44bee6 [diff] |
MSI: Consolidate MSI-X irq freeing code 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. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Acked-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>