PCI/switchtec: Update the way of getting management VEP instance ID
authorKelvin Cao <kelvin.cao@microchip.com>
Thu, 14 Oct 2021 14:18:57 +0000 (14:18 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 14 Oct 2021 14:22:47 +0000 (09:22 -0500)
commit1420ac218abcc1df809eedfb0f7351941b01c785
treef0fffb8eda32909f30295592d94b222ada161eb9
parent551ec658b69807318aeef5506da886cf9587b251
PCI/switchtec: Update the way of getting management VEP instance ID

Gen4 firmware adds DMA VEP and NVMe VEP support in VEP (virtual EP)
instance ID register in addtion to management EP, update the way of
getting management VEP instance ID.

Link: https://lore.kernel.org/r/20211014141859.11444-4-kelvin.cao@microchip.com
Signed-off-by: Kelvin Cao <kelvin.cao@microchip.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/switch/switchtec.c