projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PCI: xilinx: Relax device number checking to allow SR-IOV
[cascardo/linux.git]
/
drivers
/
pci
/
host
/
pcie-xilinx.c
diff --git
a/drivers/pci/host/pcie-xilinx.c
b/drivers/pci/host/pcie-xilinx.c
index
a30e016
..
75c89db
100644
(file)
--- a/
drivers/pci/host/pcie-xilinx.c
+++ b/
drivers/pci/host/pcie-xilinx.c
@@
-168,13
+168,6
@@
static bool xilinx_pcie_valid_device(struct pci_bus *bus, unsigned int devfn)
if (bus->number == port->root_busno && devfn > 0)
return false;
- /*
- * Do not read more than one device on the bus directly attached
- * to RC.
- */
- if (bus->primary == port->root_busno && devfn > 0)
- return false;
-
return true;
}