[PATCH 09/13] parisc/PCI: Convert to pci_assign_unassigned_bus_resources()

From: Ilpo Järvinen

Date: Mon Nov 16 2026 - 10:25:54 EST


The Dino PCI bus driver performs assignment of resource using
pci_bus_assign_resources(). That function makes bridge window sizing
disjoint from the assignment phase and is going to be removed.

Convert pci_bus_assign_resources() to
pci_assign_unassigned_bus_resources(). If no other bridges are involved,
the extra sizing should be no-op.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
---
drivers/parisc/dino.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/parisc/dino.c b/drivers/parisc/dino.c
index 286f4f75dba7..da75ba15faf4 100644
--- a/drivers/parisc/dino.c
+++ b/drivers/parisc/dino.c
@@ -1050,7 +1050,7 @@ static int __init dino_probe(struct parisc_device *dev)
* if it isn't, this global bus number count will fail
*/
dino_current_bus = max + 1;
- pci_bus_assign_resources(bus);
+ pci_assign_unassigned_bus_resources(bus);
pci_bus_add_devices(bus);
return 0;
}
--
2.47.3