]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: xilinx: Relax device number checking to allow SR-IOV
authorPo Liu <po.liu@nxp.com>
Mon, 29 Aug 2016 07:26:58 +0000 (15:26 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 12 Sep 2016 21:40:34 +0000 (16:40 -0500)
commitf47e667a3d2abfc87782aea6fae577d4ba5a5e35
tree684258c596eff33c3c18e0cb6bd271ee0c84f782
parent2c89d87bb68b4387a17fc7049e697ddf1604ffd3
PCI: xilinx: Relax device number checking to allow SR-IOV

Previously we only allowed device 0 to be directly attached to the root
port.  But SR-IOV devices may use non-zero device numbers for VFs.

Remove the restriction that only device 0 may be attached to a root port.

[bhelgaas: changelog]
Signed-off-by: Po Liu <po.liu@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-xilinx.c