[PATCH v3 13/17] parisc/PCI: Convert to pci_assign_unassigned_bus_resources()
From: Ilpo Järvinen
Date: Wed Nov 25 2026 - 18:11:59 EST
The Dino PCI bus driver assigns resources 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 a no-op.
Tested-by: Helge Deller <deller@xxxxxx>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
Acked-by: Helge Deller <deller@xxxxxx>
---
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