aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/pci-dt-slot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pci-dt-slot.c b/core/pci-dt-slot.c
index 4f5a080..448a8f0 100644
--- a/core/pci-dt-slot.c
+++ b/core/pci-dt-slot.c
@@ -152,7 +152,7 @@ static struct dt_node *find_node_for_dev(struct phb *phb,
return NULL;
/* find this down port */
- return find_devfn(sw_up, pd->bdfn & 0x1f);
+ return find_devfn(sw_up, pd->bdfn);
default:
PCIDBG(phb, pd->bdfn,