devicetree: Change scan_bus() prototype in device ops
The input/output value max is no longer used for tracking the bus enumeration sequence, everything is handled in the context of devicetree bus objects. Change-Id: I545088bd8eaf205b1436d8c52d3bc7faf4cfb0f9 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/8541 Tested-by: build bot (Jenkins) Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com> Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
@ -71,11 +71,11 @@ void pci_bus_enable_resources(device_t dev);
|
||||
void pci_bus_reset(struct bus *bus);
|
||||
device_t pci_probe_dev(device_t dev, struct bus *bus, unsigned devfn);
|
||||
|
||||
unsigned int do_pci_scan_bridge(device_t bus, unsigned int max,
|
||||
void do_pci_scan_bridge(device_t bus,
|
||||
void (*do_scan_bus)(struct bus *bus,
|
||||
unsigned min_devfn, unsigned max_devfn));
|
||||
unsigned int pci_scan_bridge(device_t bus, unsigned int max);
|
||||
|
||||
void pci_scan_bridge(device_t bus);
|
||||
void pci_scan_bus(struct bus *bus, unsigned min_devfn, unsigned max_devfn);
|
||||
|
||||
uint8_t pci_moving_config8(struct device *dev, unsigned reg);
|
||||
|
Reference in New Issue
Block a user