Change the semantics of this call to return the max reserved bus number instead of just the max assigned bus number.
Showing the changes to include (1 of 2 files). Show all
Unified · Split
| @@ -516,6 +516,7 @@ int pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max, int pass · 515 unmodified lines | ||
| 516 | 516 | void pci_walk_bus(struct pci_bus *top, void (*cb)(struct pci_dev *, void *), |
| 517 | 517 | void *userdata); |
| 518 | 518 | int pci_cfg_space_size(struct pci_dev *dev); |
| 519 | +unsigned char pci_bus_max_busnr(struct pci_bus* bus); | |
| 519 | 520 | |
| 520 | 521 | /* kmem_cache style wrapper around pci_alloc_consistent() */ |
| 521 | 522 | |