]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
amd-xgbe: Update PCI support to use new IRQ functions
authorTom Lendacky <thomas.lendacky@amd.com>
Fri, 13 Jan 2017 08:05:53 +0000 (09:05 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 13 Jan 2017 17:07:03 +0000 (11:07 -0600)
commite75377404726be171d66c154f8ea1e6cf840811d
treeb31f391603109c180dcad7db9636869663ea446c
parente8e8dd6d20fa55ff974460ad742fcbf35b301062
amd-xgbe: Update PCI support to use new IRQ functions

Some of the PCI MSI/MSI-X functions have been deprecated and it is
recommended to use the new pci_alloc_irq_vectors() function. Convert the
code over to use the new function. Also, modify the way in which the IRQs
are requested - try for multiple MSI-X/MSI first, then a single MSI/legacy
interrupt.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/net/ethernet/amd/xgbe/xgbe-pci.c
drivers/net/ethernet/amd/xgbe/xgbe.h